hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From douxin <douxins...@gmail.com>
Subject a question about webhdfs
Date Wed, 18 Sep 2013 02:49:29 GMT
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


Mime
View raw message