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 <[email protected]> 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 > <[email protected]> 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 <[email protected]> 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 > >> <[email protected]> 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
