You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by douxin <do...@gmail.com> on 2013/09/18 04:49:29 UTC
a question about webhdfs
hi guys,
I am using webhdfs, and I noticed that when I exec this:
"curl -i -L
'http://192.168.1.217:50070/webhdfs/v1/user/hadoop/sample.txt?op=GETFILECHECKSUM'"
It is redirected to
"http://hadoop2:50075/webhdfs/v1/user/hadoop/sample.txt?op=GETFILECHECKSUM"
I am wondering why the redirected url used hostname instead of an IP
of it?
how can I set it so that the url will use an IP?
Cheers,
Dou