I had a small cluster including 1 namenode and 2 datanodes
I got webhdfs enabled
and I sent an OPEN request as follow:
curl -i -L 'http://namenode:50070/webhdfs/v1/path/to/somefile?op=OPEN'
It redirected to
what weird was that the redirected URL used "localhost" as its netloc,
the URL is like
I have checked the config files and I didn't figured out what
In addiction when I check the active data nodes via
The node column' datanodes' name were all "localhost"
Any body knows what's going on about that?