Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 1077 invoked from network); 14 Feb 2011 11:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 11:01:06 -0000 Received: (qmail 72424 invoked by uid 500); 14 Feb 2011 11:01:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 72059 invoked by uid 500); 14 Feb 2011 11:01:02 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 72050 invoked by uid 99); 14 Feb 2011 11:01:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 11:01:01 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hsreekumar@clickable.com designates 74.125.149.197 as permitted sender) Received: from [74.125.149.197] (HELO na3sys009aog107.obsmtp.com) (74.125.149.197) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 14 Feb 2011 11:00:54 +0000 Received: from source ([74.125.82.179]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTVkLUIkYkQZyi59sW2j+7/R/Q2BzLE/Y@postini.com; Mon, 14 Feb 2011 03:00:34 PST Received: by mail-wy0-f179.google.com with SMTP id 11so4502831wyi.38 for ; Mon, 14 Feb 2011 03:00:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.8.199 with SMTP id 49mr2881567wer.101.1297681232245; Mon, 14 Feb 2011 03:00:32 -0800 (PST) Received: by 10.216.45.130 with HTTP; Mon, 14 Feb 2011 03:00:32 -0800 (PST) In-Reply-To: References: Date: Mon, 14 Feb 2011 16:30:32 +0530 Message-ID: Subject: Re: Need to have hbase-site.xml in hadoop conf dir? From: Hari Sreekumar To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=0016e64c18ace14cbf049c3bf47a --0016e64c18ace14cbf049c3bf47a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have this entry in hadoop-env.sh export HADOOP_CLASSPATH=3D${HADOOP_CLASSPATH}:${HBASE_HOME}/hbase-0.20.6.jar:${HBA= SE_HOME}/hbase-0.20.6-test.jar:$HBASE_HOME/conf:$HBASE_HOME/lib/zookeeper-3= .2.2.jar and I run jobs as $HADOOP_HOME/bin/hadoop jar .... But I have verified that it does not pick up the changes I make in hbase-site.xml unless I have it is hadoop conf dir. Should I make any changes in hbase-env.sh as well? Also, how can I run an MR job remotely? e.g can I run MR job from eclipse from a remote machine, say, by putting the hadoop/hbase conf folder in classpath? Thanks, Hari On Mon, Feb 14, 2011 at 12:06 PM, =E9=99=88=E5=8A=A0=E4=BF=8A wrote: > 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 wrote: > > > we include $HBASE_HOME/conf on the HADOOP_CLASSPATH in hadoop-env.sh. > > > > It goes like this: > > > > > > export HBASE_HOME=3D/home/hadoop/hbase > > JAR=3D`ls $HBASE_HOME/*.jar` > > export HBASE_JAR=3D$JAR > > > > # Extra Java CLASSPATH elements. Optional. > > export > > > HADOOP_CLASSPATH=3D$HBASE_HOME/conf:$HBASE_HOME/$HBASE_JAR:$HBASE_HOME/li= b/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 > > 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 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 > > >> 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 lik= e > > the > > >> > right way. Is there a better way to get this done? > > >> > > > >> > Thanks, > > >> > Hari > > >> > > > >> > > > > > > > > > -- > Thanks & Best regards > jiajun > --0016e64c18ace14cbf049c3bf47a--