hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manish dunani <manishd...@gmail.com>
Subject Re: NoClassDefFoundError while executing java hbase client programme
Date Wed, 07 Aug 2013 13:51:14 GMT
No i didn't ..Is there any need to change in hbase-site.xml??
Could u pls tell what i need to do??


On Wed, Aug 7, 2013 at 7:12 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> I don't see hbase.zookeeper.quorum in your config.
>
> Where do you run your zookeeper ?
>
> Cheers
>
> On Wed, Aug 7, 2013 at 6:26 AM, manish dunani <manishd207@gmail.com>
> wrote:
>
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52
> GMT
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client environment:host.name
> > =localhost
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.version=1.7.0_21
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.vendor=Oracle Corporation
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.home=/usr/lib/jvm/java-7-openjdk-i386/jre
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.class.path=/home/manish/workspace/hbase
> >
> >
> project/bin:/usr/local/hbase/hbase-0.94.9.jar:/usr/local/hbase/lib/commons-configuration-1.6.jar:/usr/local/hbase/lib/commons-lang-2.5.jar:/usr/local/hbase/lib/commons-logging-1.1.1.jar:/usr/local/hbase/lib/hadoop-core-1.0.4.jar:/usr/local/hbase/lib/log4j-1.2.16.jar:/usr/local/hbase/lib/slf4j-api-1.4.3.jar:/usr/local/hbase/lib/slf4j-log4j12-1.4.3.jar:/usr/local/hbase/lib/zookeeper-3.4.5.jar:/usr/local/hbase/lib/protobuf-java-2.4.0a.jar
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> >
> >
> environment:java.library.path=/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386::/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.io.tmpdir=/tmp
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:java.compiler=<NA>
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client environment:os.name
> > =Linux
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> environment:os.arch=i386
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:os.version=3.8.0-19-generic
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client environment:user.name
> > =manish
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:user.home=/home/manish
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Client
> > environment:user.dir=/home/manish/workspace/hbase project
> > 13/08/07 06:20:21 INFO zookeeper.ZooKeeper: Initiating client connection,
> > connectString=localhost:2181 sessionTimeout=180000 watcher=hconnection
> > 13/08/07 06:20:21 INFO zookeeper.RecoverableZooKeeper: The identifier of
> > this process is 10342@ubuntu
> > 13/08/07 06:20:21 INFO zookeeper.ClientCnxn: Opening socket connection to
> > server localhost/127.0.0.1:2181. Will not attempt to authenticate using
> > SASL (unknown error)
> > 13/08/07 06:20:21 INFO zookeeper.ClientCnxn: Socket connection
> established
> > to localhost/127.0.0.1:2181, initiating session
> > 13/08/07 06:20:21 INFO zookeeper.ClientCnxn: Session establishment
> complete
> > on server localhost/127.0.0.1:2181, sessionid = 0x14058258d27000b,
> > negotiated timeout = 180000
> > 13/08/07 06:20:22 WARN
> client.HConnectionManager$HConnectionImplementation:
> > Encountered problems when prefetch META table:
> > org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in .META.
> > for table: testtable, row=testtable,,99999999999999
> >     at
> > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:165)
> >     at
> >
> org.apache.hadoop.hbase.client.MetaScanner.access$000(MetaScanner.java:55)
> >     at
> >
> org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:134)
> >     at
> >
> org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:131)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager.execute(HConnectionManager.java:384)
> >     at
> > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:131)
> >     at
> > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:106)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:958)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1020)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:900)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:857)
> >     at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:233)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:173)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:132)
> >     at maddy.test.dataenter.main(dataenter.java:19)
> > Exception in thread "main"
> org.apache.hadoop.hbase.TableNotFoundException:
> > testtable
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1038)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:900)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:857)
> >     at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:233)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:173)
> >     at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:132)
> >     at maddy.test.dataenter.main(dataenter.java:19)
> >
> >
> > Can u please tell me the solution?
> >
> >
> > On Wed, Aug 7, 2013 at 6:46 PM, manish dunani <manishd207@gmail.com>
> > wrote:
> >
> > > Thanx a lot!!
> > >
> > >
> > > On Wed, Aug 7, 2013 at 6:35 PM, Subroto <ssanyal@datameer.com> wrote:
> > >
> > >> Hi Manish,
> > >>
> > >> Please include protobuf-java-*.jar in the dependencies.
> > >>
> > >> Cheers,
> > >> Subroto Sanyal
> > >> On Aug 7, 2013, at 3:02 PM, manish dunani wrote:
> > >>
> > >> > Message
> > >>
> > >>
> > >
> > >
> > > --
> > > MANISH DUNANI
> > > -THANX
> > > +91 9426881954,+91 8460656443
> > > manishd207@gmail.com
> > >
> >
> >
> >
> > --
> > MANISH DUNANI
> > -THANX
> > +91 9426881954,+91 8460656443
> > manishd207@gmail.com
> >
>



-- 
MANISH DUNANI
-THANX
+91 9426881954,+91 8460656443
manishd207@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message