Short answer: no.

Painful way to get around the problem:

You *could* by looking up the machines hostname when the job starts
and then from the HConnection that HTables can give you through
getConnection() do getRegionLocation for the row you are going to Get
and then get the hostname by getServerAddress().getHostname()

J-D

On Mon, Jan 9, 2012 at 1:19 PM, Christopher Dorner
<[email protected]> wrote:
> Hi,
>
> i am using the input of a mapper as a rowkey to make a GET Request to a
> table.
>
> Is it somehow possible to retrieve information about how much data had to be
> transferred over network or how many of the requests were data local
> (namenodes are also regionservers) or where the request was not on the same
> node?
>
> That would be some really cool and useful statistics for us :)
>
> Thank you,
>
> Christopher Dorner

Reply via email to