Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 3971 invoked from network); 16 Feb 2010 04:09:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2010 04:09:37 -0000 Received: (qmail 27729 invoked by uid 500); 16 Feb 2010 04:09:34 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 27629 invoked by uid 500); 16 Feb 2010 04:09:34 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 27619 invoked by uid 99); 16 Feb 2010 04:09:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 04:09:34 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.185] (HELO mail-px0-f185.google.com) (209.85.216.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 04:09:26 +0000 Received: by pxi15 with SMTP id 15so490290pxi.21 for ; Mon, 15 Feb 2010 20:09:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.13.9 with SMTP id q9mr3975373rvi.54.1266293344230; Mon, 15 Feb 2010 20:09:04 -0800 (PST) In-Reply-To: References: From: Todd Lipcon Date: Mon, 15 Feb 2010 20:08:44 -0800 Message-ID: <45f85f71002152008m19b98ce4u4d23dd23a59aa096@mail.gmail.com> Subject: Re: Trouble with secondary indexing? To: common-user@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 Hi Michael, This question may be better suited for the HBase mailing list: hbase-user@hadoop.apache.org I haven't worked with the secondary indexing contrib module yet, but here's one idea: did you try uncommenting the "export HBASE_CLASSPATH=3D" line in conf/hbase-env.sh and adding the indexing contrib module there? Also, you should point the classpath variable at the jar itself, not just the directory in which the jar is contained. Thanks -Todd On Mon, Feb 15, 2010 at 9:25 AM, Michael Segel wrote: > > Hi, First time posting... > > Got an interesting problem with setting up secondary indexing in Hbase. > > We're running with Cloudera's distribution, and we have secondary indexin= g up and running on our 'sandbox' machines. > > I'm installing it on our development cloud, and I know I did something to= tally 'brain dead' but can't figure out what it is... > (Sort of like looking for your keys and they are in plain sight on the ta= ble in front of you...) > > We've got Hadoop up and running, and Hbase up and running without the sec= ondary indexing. > We've added the two properties in to the hbase-site.xml and then in our .= kshrc (yes we use ksh :-) > > > I've added $HBASE_HOME/contrib/transactional to the CLASSPATH shell varia= ble. > > The error we get is: > 2010-02-15 08:39:30,263 ERROR org.apache.hadoop.hbase.master.HMaster: Can= not start master > java.lang.reflect.InvocationTargetException > =A0 =A0 =A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance0(= Native Method) > =A0 =A0 =A0 =A0at sun.reflect.NativeConstructorAccessorImpl.newInstance(N= ativeConstructorAccessorImpl.java:39) > =A0 =A0 =A0 =A0at sun.reflect.DelegatingConstructorAccessorImpl.newInstan= ce(DelegatingConstructorAccessorImpl.java:27) > =A0 =A0 =A0 =A0at java.lang.reflect.Constructor.newInstance(Constructor.j= ava:513) > =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.j= ava:1241) > =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.master.HMaster.main(HMaster.jav= a:1282) > Caused by: java.lang.UnsupportedOperationException: Unable to find region= server interface org.apache.hadoop.hbase.ipc.IndexedRegionInterface > > > When I look at the error, I'm thinking that I'm missing the path to the C= LASS, however on a different cluster of machines running Cloudera's +152 re= lease (HBase-0.20.0) don't have a problem. > > So what am I missing? > > TIA! > > -Mikey > > _________________________________________________________________ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. > http://clk.atdmt.com/GBL/go/201469229/direct/01/