hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Kolesky <j...@opower.com>
Subject Re: initTableMapperJob with a List of Scans
Date Thu, 20 Jun 2013 16:38:36 GMT
You should be able to get the table name from the split.  Within the map()


That will return the name of the table as a byte array.


On Thu, Jun 20, 2013 at 6:20 AM, Eric Z. Beard <ericzbeard@gmail.com> wrote:

> Hello,
> With a regular map reduce job using MultipleInputs.addInputPath, you can
> specify a different mapper class for each input.  With the HBase
> initTableMapperJob, each Scan Result gets handled by the same mapper.  How
> can you tell which table you are dealing with in the mapper?
> Thanks,
> Eric Z. Beard

*Jeff Kolesky*
Chief Software Architect

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