Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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.
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB