hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈加俊 <cjjvict...@gmail.com>
Subject Re: Need to have hbase-site.xml in hadoop conf dir?
Date Mon, 14 Feb 2011 06:36:27 GMT
If I have new jar builded by myselft,How should I extra Java CLASSPATH
elements?

On Sat, Feb 12, 2011 at 3:04 PM, Ryan Rawson <ryanobjc@gmail.com> wrote:

> we include $HBASE_HOME/conf on the HADOOP_CLASSPATH in hadoop-env.sh.
>
> It goes like this:
>
>
> export HBASE_HOME=/home/hadoop/hbase
> JAR=`ls $HBASE_HOME/*.jar`
> export HBASE_JAR=$JAR
>
> # Extra Java CLASSPATH elements.  Optional.
> export
> HADOOP_CLASSPATH=$HBASE_HOME/conf:$HBASE_HOME/$HBASE_JAR:$HBASE_HOME/lib/zookeeper-3.3.2.jar:$HBASE_HOME/lib/guava-r06.jar
>
> at the top of hadoop-env.sh
>
> On Fri, Feb 11, 2011 at 11:01 PM, Hari Sreekumar
> <hsreekumar@clickable.com> wrote:
> > Sorry, it is an MR job, I am running hbase 0.20.6 on hadoop 0.20.2.
> >
> > hari
> >
> > On Sat, Feb 12, 2011 at 2:08 AM, Stack <stack@duboce.net> wrote:
> >
> >> What is the context?  A MR job?  0.20.x HBase?
> >> St.Ack
> >>
> >> On Fri, Feb 11, 2011 at 12:05 PM, Hari Sreekumar
> >> <hsreekumar@clickable.com> wrote:
> >> > Hi guys,
> >> >
> >> > I have $HBASE_HOME/conf on  my hadoop classpath but still, my
> >> hbase-site.xml
> >> > doesn't get picked up from that location. It seems to work only if I
> copy
> >> my
> >> > hbase-site.xml to the $HADOOP_HOME/conf directory. But having two
> copies
> >> of
> >> > the xml file is becoming very messy and also this doesn't look like
> the
> >> > right way. Is there a better way to get this done?
> >> >
> >> > Thanks,
> >> > Hari
> >> >
> >>
> >
>



-- 
Thanks & Best regards
jiajun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message