It would definitely be interesting, please do report back. Thx,
J-D On Mon, Jan 9, 2012 at 2:33 PM, Christopher Dorner <[email protected]> wrote: > Thank you for the reply. > Though that sounds a bit like some dirty hacking, it seems to be doable. I > think i will give it a try. > I can report back when i get some usable results. Maybe some more people are > interested in that. > > Christopher > > > Am 09.01.2012 23:15, schrieb Jean-Daniel Cryans: > >> 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 > >
