Re: initTableMapperJob with a List of Scans

2013-06-20 Thread Jeff Kolesky
You should be able to get the table name from the split. Within the map() method: ((TableSplit)context.getInputSplit()).getTableName() That will return the name of the table as a byte array. Jeff On Thu, Jun 20, 2013 at 6:20 AM, Eric Z. Beard wrote: > Hello, > > With a regular map reduce

initTableMapperJob with a List of Scans

2013-06-20 Thread Eric Z. Beard
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