Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 22323 invoked from network); 17 Feb 2010 21:27:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 21:27:05 -0000 Received: (qmail 16962 invoked by uid 500); 17 Feb 2010 21:27:04 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 16900 invoked by uid 500); 17 Feb 2010 21:27:04 -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 16890 invoked by uid 99); 17 Feb 2010 21:27:04 -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:27:04 +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 kaykay.unique@gmail.com designates 209.85.221.177 as permitted sender) Received: from [209.85.221.177] (HELO mail-qy0-f177.google.com) (209.85.221.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 21:26:56 +0000 Received: by qyk7 with SMTP id 7so7211076qyk.10 for ; Wed, 17 Feb 2010 13:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=61y6EC//UeFu9vvHk2qy1HYHXoT5eRqTHFrwfxEHxp4=; b=MGm1otnZ2w/m2hClq3AjOoggMJ4BMNj1NsYdMGhaPMljgjCmi470A0IXbkRueE3Xnn E10mmbeFkByBolH5KF04rlBTopfaitdLF/sdjoU7k9MTSrnfD/kO6YMr/MBrnwnMItpF 6PXA0SYiQeW2SvvYq4ivcWNeEDai0+LFbqSrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=aotjeWjRBW9Y2lCcmI7YrMOkCZO6BRCukM40OGzm/VsuK4Npvxb2p5YLVOXj/A+xHb c6tFKW17IFz2spq99vIxzsCY9QgtJXUUN7ytlgSBb3VFj1fs7JDpGA1w7V1TZKvzlJEn riC1ZWRscnFL2s8jSVy3QFqwraXtDeU0kjgMg= Received: by 10.103.81.37 with SMTP id i37mr6318051mul.39.1266441994876; Wed, 17 Feb 2010 13:26:34 -0800 (PST) Received: from KayKayVoldeMort.local ([157.22.24.10]) by mx.google.com with ESMTPS id w5sm40519520mue.15.2010.02.17.13.26.31 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Feb 2010 13:26:33 -0800 (PST) Message-ID: <4B7C6007.3010408@gmail.com> Date: Wed, 17 Feb 2010 13:30:47 -0800 From: Kay Kay User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: hbase-dev@hadoop.apache.org Subject: Re: Running local after build broken? References: <61770b881002171056y323958c6ndf909e16732fd20b@mail.gmail.com> <4B7C428C.5010808@gmail.com> <61770b881002171252s646173aeu877de0b4d23a0141@mail.gmail.com> In-Reply-To: <61770b881002171252s646173aeu877de0b4d23a0141@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Does it help to bypass distMode altogether and directly use distributed=20 mode (which I assume is what you are looking at ) , manually launching=20 the servers using hbase-daemon.sh (master/ zk) ? 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-l= arsgeorge-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:/De= velopment/eclipse/workspace/hbase-trunk-ro/build/bin/..:/Development/ecli= pse/workspace/hbase-trunk-ro/build/bin/../hbase-0.21.0-dev.jar:/Developme= nt/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/ant-1.6.5.jar:/Devel= opment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/asm-3.0.jar:/Dev= elopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/avro-1.2.0.jar= :/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/commons-c= li-1.2.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib= /commons-codec-1.3.jar:/Development/eclipse/workspace/hbase-trunk-ro/buil= d/bin/../lib/commons-el-1.0.jar:/Development/eclipse/workspace/hbase-trun= k-ro/build/bin/../lib/commons-httpclient-3.0.1.jar:/Development/eclipse/w= orkspace/hbase-trunk-ro/build/bin/../lib/commons-lang-2.4.jar:/Developmen= t/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/commons-logging-1.1.1= =2Ejar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/com= mons-net-1.4.1.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bi= n/../lib/core-3.1.1.jar:/Development/eclipse/workspace/hbase-trunk-ro/bui= ld/bin/../lib/hadoop-core-0.21.0-SNAPSHOT.jar:/Development/eclipse/worksp= ace/hbase-trunk-ro/build/bin/../lib/hadoop-hdfs-0.21.0-SNAPSHOT.jar:/Deve= lopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/hadoop-mapred-0= =2E21.0-SNAPSHOT.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/= bin/../lib/hsqldb-1.8.0.10.jar:/Development/eclipse/workspace/hbase-trunk= -ro/build/bin/../lib/jackson-core-asl-1.0.1.jar:/Development/eclipse/work= space/hbase-trunk-ro/build/bin/../lib/jackson-mapper-asl-1.0.1.jar:/Devel= opment/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/workspace/hbase-trunk-ro/= build/bin/../lib/jets3t-0.7.1.jar:/Development/eclipse/workspace/hbase-tr= unk-ro/build/bin/../lib/jetty-6.1.14.jar:/Development/eclipse/workspace/h= base-trunk-ro/build/bin/../lib/jetty-util-6.1.14.jar:/Development/eclipse= /workspace/hbase-trunk-ro/build/bin/../lib/jline-0.9.94.jar:/Development/= eclipse/workspace/hbase-trunk-ro/build/bin/../lib/jruby-complete-1.3.1.ja= r:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/jsp-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/bui= ld/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/hb= ase-trunk-ro/build/bin/../lib/log4j-1.2.15.jar:/Development/eclipse/works= pace/hbase-trunk-ro/build/bin/../lib/lucene-core-2.2.0.jar:/Development/e= clipse/workspace/hbase-trunk-ro/build/bin/../lib/oro-2.0.8.jar:/Developme= nt/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/paranamer-1.5.jar:/D= evelopment/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/paranamer-an= t-1.5.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/= paranamer-generator-1.5.jar:/Development/eclipse/workspace/hbase-trunk-ro= /build/bin/../lib/qdox-1.9.1.jar:/Development/eclipse/workspace/hbase-tru= nk-ro/build/bin/../lib/servlet-api-2.5-6.1.14.jar:/Development/eclipse/wo= rkspace/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/workspace/hbase-trunk-ro/build/bin/../lib/xmlenc-0.5= 2.jar:/Development/eclipse/workspace/hbase-trunk-ro/build/bin/../lib/zook= eeper-3.2.2.jar > > Weird. > > > On Wed, Feb 17, 2010 at 8:25 PM, Kay Kay wrot= e: > =20 >> >> On 2/17/10 10:56 AM, Lars George wrote: >> =20 >>> build/bin/start-hbase.sh: line 44: [: =3D=3D: unary operator expected= >>> =20 >> 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 = (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. >> >> >> =20