Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop, mail # user - Passing an object in mapper

Copy link to this message
Passing an object in mapper
jamal sasha 2013-08-15, 03:09
   I am initializing an object in driver code.
For sake of argument let say I want to save data to some database..
Connection con = new Connection(host, db);
Now, in reducer I want to do something like

So, how do i pass this object from driver to mapper / reducer/?
Any clue? suggestions?
Sivaram RL 2013-08-15, 03:25