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

Switch to Threaded View
HBase, mail # user - Question about object parameters to mappers


Copy link to this message
-
Re: Question about object parameters to mappers
Stack 2013-02-26, 22:11
Serialize it to hdfs?  Have your mappers pick it up on startup or have the
map runner pick it up for the mappers?
St.Ack
On Fri, Feb 22, 2013 at 2:53 PM, Gaetan Deputier <[EMAIL PROTECTED]> wrote:

> Hi Hbase users,
>
> (Using HBase 0.92.1 from Cloudera CDH4.1.1)
>
> I am currently writing a TableMapper which needs an object X defined
> outside my TableMapper class.
>
> I was wondering how can I pass this object X to my TableMapper ? I want to
> be sure that once the jobs are deployed on our cluster, X will be there
> too.
>
> I first thought using the Job Configuration could be the way but I can only
> pass String and primitive types.
>
> Any ideas, solutions ?
>
> Sincerely,
>
> G.
>