You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by "Hiller, Dean (Contractor)" <de...@broadridge.com> on 2011/01/27 02:47:29 UTC

how to write to different table in map/reduce than target table?

I have a map/reduce job I coded up to play with this and there is this
line that sets the table

 

TableMapReduceUtil.initTableReducerJob(tableName, null, job);

 

Then the Put objects take a column family but no table so it seems like
I can only operate on the table I am currently using?  How to do get/put
from other tables?

 

I am trying to stuff activity in a map/reduce but the map phase needs to
look up the account and create it not exist and a bunch of other
get/puts from other tables as millions of activity come into my system
in a batch job.

 

Thanks,

Dean

 

 

 


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.