Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 26783 invoked from network); 17 Feb 2010 21:33:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 21:33:35 -0000 Received: (qmail 26019 invoked by uid 500); 17 Feb 2010 21:33:35 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 25987 invoked by uid 500); 17 Feb 2010 21:33:35 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 25977 invoked by uid 99); 17 Feb 2010 21:33:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 21:33:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lars.george@gmail.com designates 209.85.219.216 as permitted sender) Received: from [209.85.219.216] (HELO mail-ew0-f216.google.com) (209.85.219.216) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 21:33:28 +0000 Received: by ewy8 with SMTP id 8so8755133ewy.29 for ; Wed, 17 Feb 2010 13:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=A3pqZZc30BQ84RAGfi67qpTZ3wYPVvMsvTMg8rb3fgY=; b=iahy6mD/8BU02h86/MSQDzA4qAU35b/zZ4RN6/2i/eCqGHGgb0MiUOq604FYKxShE1 1M1iCGhx98iOsjI9PSR/QYu6jhByr34Lhz6sFgWHkZwpZ3tvIracBcxn/iCQy/dNRJIJ wTil4A81lKpmkgo1gZW3LtgMaAb8h5nMKhwC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=K0raBTFCq8544uzc+BGRDX4V2E/QAB22iq8mQkP5p2FpMtZGwv3r+BreYyLnod8SCT 2n6bNMAAyTz7++zRvuut7fgfRjDExLEDBX1n/0P5Fewf4OygVBTm1B3pdKPa5MOB4nW3 CBGKixgm2chcwFMKpPUs6woPJ6+L3Rd2wLKok= MIME-Version: 1.0 Received: by 10.213.100.229 with SMTP id z37mr5740452ebn.28.1266442387741; Wed, 17 Feb 2010 13:33:07 -0800 (PST) In-Reply-To: <4B7C6007.3010408@gmail.com> References: <61770b881002171056y323958c6ndf909e16732fd20b@mail.gmail.com> <4B7C428C.5010808@gmail.com> <61770b881002171252s646173aeu877de0b4d23a0141@mail.gmail.com> <4B7C6007.3010408@gmail.com> Date: Wed, 17 Feb 2010 22:33:07 +0100 Message-ID: <61770b881002171333w3b5cd806xf97ed1b0dc3a1289@mail.gmail.com> Subject: Re: Running local after build broken? From: Lars George To: hbase-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org No, this is a standard start for local testing, this always worked. Simply = do svn co cd ant build/bin/start-hbase.sh and you had a local version running. On Wed, Feb 17, 2010 at 10:30 PM, Kay Kay wrote: > Does it help to bypass distMode altogether and directly use distributed m= ode > (which I assume is what you are looking at ) =A0, manually launching the > servers using hbase-daemon.sh (master/ zk) =A0? > > > > > On 2/17/10 12:52 PM, Lars George wrote: >> >> I see the libs in build/ivy/lib/common, is that something else? >> >> The error happens here: >> >> ... >> if [ $distMode =3D=3D 'false' ] >> ... >> >> Shouldn't that be [[...]]? >> >> Why am I the only one that has this issue? This is MacOS 10.6 and a >> normal hbase-0.21.0 trunk build. >> >> Here the classpath dumped in bin/hbase: >> >> larsmacbookpro:hbase-trunk-ro larsgeorge$ build/bin/start-hbase.sh >> build/bin/start-hbase.sh: line 44: [: too many arguments >> sed: 1: "s/^//Development/eclips ...": bad flag in substitute command: '= D' >> Classpath:: ssh: Could not resolve hostname Classpath:: nodename nor >> servname provided, or not known >> localhost: starting zookeeper, logging to >> >> /Development/eclipse/workspace/hbase-trunk-ro/build/bin/../logs/hbase-la= rsgeorge-zookeeper-larsmacbookpro.fritz.box.out >> localhost: Classpath: >> >> /Development/eclipse/workspace/hbase-trunk-ro/build/bin/../conf:/System/= Library/Frameworks/JavaVM.framework/Versions/1.6/Home//lib/tools.jar:/Devel= opment/eclipse/workspace/hbase-trunk-ro/build/bin/..:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../hbase-0.21.0-dev.jar:/Development/ecli= pse/workspace/hbase-trunk-ro/build/bin/../lib/ant-1.6.5.jar:/Development/ec= lipse/workspace/hbase-trunk-ro/build/bin/../lib/asm-3.0.jar:/Development/ec= lipse/workspace/hbase-trunk-ro/build/bin/../lib/avro-1.2.0.jar:/Development= /eclipse/workspace/hbase-trunk-ro/build/bin/../lib/commons-cli-1.2.jar:/Dev= elopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/commons-codec-1.= 3.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/common= s-el-1.0.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib= /commons-httpclient-3.0.1.jar:/Development/eclipse/workspace/hbase-trunk-ro= /build/bin/../lib/commons-lang-2.4.jar:/Development/eclipse/workspace/hbase= -trunk-ro/build/bin/../lib/commons-logging-1.1.1.jar:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../lib/commons-net-1.4.1.jar:/Development= /eclipse/workspace/hbase-trunk-ro/build/bin/../lib/core-3.1.1.jar:/Developm= ent/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/hadoop-core-0.21.0-SN= APSHOT.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/h= adoop-hdfs-0.21.0-SNAPSHOT.jar:/Development/eclipse/workspace/hbase-trunk-r= o/build/bin/../lib/hadoop-mapred-0.21.0-SNAPSHOT.jar:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../lib/hsqldb-1.8.0.10.jar:/Development/e= clipse/workspace/hbase-trunk-ro/build/bin/../lib/jackson-core-asl-1.0.1.jar= :/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/jackson-map= per-asl-1.0.1.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/.= ./lib/jasper-compiler-5.5.12.jar:/Development/eclipse/workspace/hbase-trunk= -ro/build/bin/../lib/jasper-runtime-5.5.12.jar:/Development/eclipse/workspa= ce/hbase-trunk-ro/build/bin/../lib/jets3t-0.7.1.jar:/Development/eclipse/wo= rkspace/hbase-trunk-ro/build/bin/../lib/jetty-6.1.14.jar:/Development/eclip= se/workspace/hbase-trunk-ro/build/bin/../lib/jetty-util-6.1.14.jar:/Develop= ment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/jline-0.9.94.jar:/De= velopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/jruby-complete-= 1.3.1.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/js= p-2.1-6.1.14.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/..= /lib/jsp-api-2.1-6.1.14.jar:/Development/eclipse/workspace/hbase-trunk-ro/b= uild/bin/../lib/junit-4.5.jar:/Development/eclipse/workspace/hbase-trunk-ro= /build/bin/../lib/kfs-0.3.jar:/Development/eclipse/workspace/hbase-trunk-ro= /build/bin/../lib/libthrift-0.2.0.jar:/Development/eclipse/workspace/hbase-= trunk-ro/build/bin/../lib/log4j-1.2.15.jar:/Development/eclipse/workspace/h= base-trunk-ro/build/bin/../lib/lucene-core-2.2.0.jar:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../lib/oro-2.0.8.jar:/Development/eclipse= /workspace/hbase-trunk-ro/build/bin/../lib/paranamer-1.5.jar:/Development/e= clipse/workspace/hbase-trunk-ro/build/bin/../lib/paranamer-ant-1.5.jar:/Dev= elopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/paranamer-genera= tor-1.5.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/= qdox-1.9.1.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../l= ib/servlet-api-2.5-6.1.14.jar:/Development/eclipse/workspace/hbase-trunk-ro= /build/bin/../lib/slf4j-api-1.5.8.jar:/Development/eclipse/workspace/hbase-= trunk-ro/build/bin/../lib/slf4j-simple-1.5.8.jar:/Development/eclipse/works= pace/hbase-trunk-ro/build/bin/../lib/xmlenc-0.52.jar:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../lib/zookeeper-3.2.2.jar >> >> Weird. >> >> >> On Wed, Feb 17, 2010 at 8:25 PM, Kay Kay =A0wro= te: >> >>> >>> On 2/17/10 10:56 AM, Lars George wrote: >>> >>>> >>>> build/bin/start-hbase.sh: line 44: [: =3D=3D: unary operator expected >>>> >>> >>> Not sure - if this is related - but you could check what is wrong with >>> this >>> . >>> >>> Meanwhile - what does the CLASSPATH in the start-hbase.sh script say >>> =A0(w.r.t >>> jars ). The right jars should be available at - build/ivy/common/*.jar >>> and >>> build/contrib/**/ivy/common/*.jar . >>> >>> Do the CLASSPATH identified by the bash script match the actuals. >>> >>> >>> > > >