By the way, if the datanode host have mutiple IP address, which one the 
getBlockLocation function will return?
> On 11 Oct 2018, at 11:46 AM, ZongtianHou <[email protected]> 
> wrote:
> 
> Hi, everyone:
>       I use libhdfs3 API to access the hdfs, the hostnames of data block 
> locations I get from namenode are not consistent, In my local host, it may be 
> “localhost", or name of the host, ip may be 127.0.0.1 or actual ip address of 
> the host, I wonder what is the principle, how can I get it in a same format.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to