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 >> connecting Hbase using java


Copy link to this message
-
Re: connecting Hbase using java
Ok.

Classpath looks good.

Few points:
- org.apache.hadoop.hbase.client.Scanner doesn't exist for 0.94.6.
- org.apache.hadoop.hbase.io.BatchUpdate doesn't exist for 0.94.6.
- org.apache.hadoop.hbase.io.Cell doesn't exist for 0.94.6.
- etc.

http://hbase.apache.org/0.94/apidocs/index.html

You might want to review you source code.

JM
2013/4/4 Alok Singh Mahor <[EMAIL PROTECTED]>:
> thanks Jean, output of ~/packages/hbase-0.94.6/bin/hbase classpath is
>
> alok@alok:~/exp/hbase/exp$ ~/packages/hbase-0.94.6/bin/hbase classpath
> /home/alok/packages/hbase-0.94.6/bin/../conf:/usr/lib/jvm/default-java/lib/tools.jar:/home/alok/packages/hbase-0.94.6/bin/..:/home/alok/packages/hbase-0.94.6/bin/../hbase-0.94.6.jar:/home/alok/packages/hbase-0.94.6/bin/../hbase-0.94.6-tests.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/activation-1.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/asm-3.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/avro-1.5.3.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/avro-ipc-1.5.3.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-beanutils-1.7.0.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-beanutils-core-1.8.0.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-cli-1.2.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-codec-1.4.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-collections-3.2.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-configuration-1.6.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-digester-1.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-el-1.0.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-httpclient-3.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-io-2.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-lang-2.5.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-logging-1.1.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-math-2.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/commons-net-1.4.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/core-3.1.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/guava-11.0.2.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/hadoop-core-1.0.4.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/high-scale-lib-1.1.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/httpclient-4.1.2.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/httpcore-4.1.3.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jackson-core-asl-1.8.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jackson-jaxrs-1.8.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jackson-mapper-asl-1.8.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jackson-xc-1.8.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jamon-runtime-2.3.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jasper-compiler-5.5.23.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jasper-runtime-5.5.23.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jaxb-api-2.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jaxb-impl-2.2.3-1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jersey-core-1.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jersey-json-1.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jersey-server-1.8.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jettison-1.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jetty-6.1.26.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jetty-util-6.1.26.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jruby-complete-1.6.5.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jsp-2.1-6.1.14.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jsp-api-2.1-6.1.14.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/jsr305-1.3.9.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/junit-4.10-HBASE-1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/libthrift-0.8.0.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/log4j-1.2.16.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/metrics-core-2.1.2.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/netty-3.2.4.Final.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/protobuf-java-2.4.0a.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/servlet-api-2.5-6.1.14.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/slf4j-api-1.4.3.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/slf4j-log4j12-1.4.3.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/snappy-java-1.0.3.2.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/stax-api-1.0.1.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/velocity-1.7.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/xmlenc-0.52.jar:/home/alok/packages/hbase-0.94.6/bin/../lib/zookeeper-3.4.5.jar:
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