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 >> TableInputFormat and TableOutputFormat are not using hbase resource from cloud configuration


Copy link to this message
-
Re: TableInputFormat and TableOutputFormat are not using hbase resource from cloud configuration
Hi Dino,

the configuraion is loaded by call to
TableMapReduceUtil.initTable{Mapper,Reducer}Job(), which you should
probably use to setup your jobs.

Regards,
  Jan

On 20.12.2011 08:56, Dino Kečo wrote:
> Hi Stack,
>
> I am using ToolRunner for running my jobs, so I have implemented Tool
> interface and extend Configured class and those classes create
> Configuration for me automatically.
>
> Because of that I need to add one line of code (HBaseConfiguration.
> addHbaseResources(getConf());) for loading HBase resources which is not
> that straight forward.
>
> It is not problem for me to add that but it is not that user friendly and
> users expect that those resources are loaded but they are not. So my
> question is should this be changed on HBase side ?
>
> Regards,
> Dino
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