FAQ
Hi,

As of 0.90.x if one has to use mapreduce jobs packed with hbase jar, they
will have to setup HADOOP_CLASSPATH using the method described here (hbase
claspath command)
http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/mapreduce/package-summary.html#package_description

Is this common practice among users? Are there any alternative people have
thought about and could share their experience.

--
Have a Nice Day!
Lohit

Search Discussions

  • Stack at Sep 28, 2011 at 5:54 pm
    What you looking for Lohit?

    You can do as doc describes or put the hbase classes in the CLASSPATH
    of running mapreduce out on cluster or just bundle all of the hbase
    dependencies up in your fat job jar.

    What would you like instead boss?

    St.Ack
    On Wed, Sep 28, 2011 at 10:06 AM, lohit wrote:
    Hi,

    As of 0.90.x if one has to use mapreduce jobs packed with hbase jar, they
    will have to setup HADOOP_CLASSPATH using the method described here (hbase
    claspath command)
    http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/mapreduce/package-summary.html#package_description

    Is this common practice among users? Are there any alternative people have
    thought about and could share their experience.

    --
    Have a Nice Day!
    Lohit
  • Lohit at Sep 28, 2011 at 6:04 pm
    Thanks for the reply Stack. So, it looks like this is norm.
    Reason I asked is, the only config needed (I think) is ZooKeeper
    quorum/port. And did anyone put that in hadoop-site.xml and worked for them.
    (Although I agree it is ugly)

    2011/9/28 Stack <stack@duboce.net>
    What you looking for Lohit?

    You can do as doc describes or put the hbase classes in the CLASSPATH
    of running mapreduce out on cluster or just bundle all of the hbase
    dependencies up in your fat job jar.
    What would you like instead boss?

    St.Ack
    On Wed, Sep 28, 2011 at 10:06 AM, lohit wrote:
    Hi,

    As of 0.90.x if one has to use mapreduce jobs packed with hbase jar, they
    will have to setup HADOOP_CLASSPATH using the method described here (hbase
    claspath command)
    http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/mapreduce/package-summary.html#package_description
    Is this common practice among users? Are there any alternative people have
    thought about and could share their experience.

    --
    Have a Nice Day!
    Lohit


    --
    Have a Nice Day!
    Lohit
  • Stack at Sep 28, 2011 at 7:08 pm

    On Wed, Sep 28, 2011 at 11:03 AM, lohit wrote:
    Thanks for the reply Stack. So, it looks like this is norm.
    Reason I asked is, the only config needed (I think) is ZooKeeper
    quorum/port. And did anyone put that in hadoop-site.xml and worked for them.
    (Although I agree it is ugly)
    You mean build the conf dir into the job jar? That should work.
    St.Ack

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categorieshbase, hadoop
postedSep 28, '11 at 5:07p
activeSep 28, '11 at 7:08p
posts4
users2
websitehbase.apache.org

2 users in discussion

Lohit: 2 posts Stack: 2 posts

People

Translate

site design / logo © 2022 Grokbase