Re: datanode hostname has different expression

2018-10-16 Thread ZongtianHou
Does anyone know about this? > On 11 Oct 2018, at 11:46 AM, ZongtianHou > 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 m

Re: datanode hostname has different expression

2018-10-11 Thread ZongtianHou
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 > wrote: > > Hi, everyone: > I use libhdfs3 API to access the hdfs, the hostnames of data block > locations I get from namenode are no