hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew John <tmatthewjohn1...@gmail.com>
Subject Re: Host-address or Hostname
Date Thu, 12 May 2011 13:26:58 GMT
Is it possible to get a Host-address to Host-name mapping in the JIP ?
Someone please help me with this!


On Thu, May 12, 2011 at 5:36 PM, Matthew John <tmatthewjohn1988@gmail.com>wrote:

> Hi all,
> The String[] that is output by the InputSplit.getLocations() gives the list
> of nodes where the input split resides.
> But the node detail is either represented as the ip-address or the hostname
> (for eg - an entry in the list could be either or mattHDFS1
> (hostname). Is it possible to make this consistent. I am trying to do some
> work by parsing an ID number embedded in the Hostname and this mixed
> representation is giving me hell lot of problems.
> How to resolve this ?
> Thanks,
> Matthew

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message