hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Goodhope <kengoodh...@gmail.com>
Subject Re: Finding the datanode ID
Date Sat, 07 Aug 2010 18:58:09 GMT
You can use java.net.InetAddress.getLocalHost to determine what node
you are working on.

On Saturday, August 7, 2010, Denim Live <denim.live@yahoo.com> wrote:
> Hi all,
>
> For some odd processing situation, I want to determine in each map and reduce
> task the node ID of the physical node on which a record is being processed. Is
> it possible to determine the node ID programmatically?
>
>
>

Mime
View raw message