Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> NoClassDefFoundError while executing java hbase client programme


Copy link to this message
-
Re: NoClassDefFoundError while executing java hbase client programme
Please take a look at:

http://hbase.apache.org/book.html#d2617e2382

On Wed, Aug 7, 2013 at 6:51 AM, manish dunani <[EMAIL PROTECTED]> wrote:

> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> > 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB