Support Questions
Find answers, ask questions, and share your expertise

HBase 1.2.0-cdh 5.13.0 Connection Problem in Cloudera Quickstart VM

HBase 1.2.0-cdh 5.13.0 Connection Problem in Cloudera Quickstart VM

Explorer

When I connect to HBase 1.2.0-cdh 5.13.0 through the following Java program, I get an error message. Do you know how to solve this problem?

 

 

 

package a_connection;

import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.client.HTable;
import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.util.Bytes;

public class createHBaseTable {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		
		
        
		// instantiate Configuration class
        Configuration config = HBaseConfiguration.create();

        // instantiate HTable class
        HTable hTable = new HTable(config, "test_table");

        // instantiate Put class
        Put p = new Put(Bytes.toBytes("row-1")); 

        // add values using add() method
        p.add(Bytes.toBytes("personal"),Bytes.toBytes("name"),Bytes.toBytes("Vivek"));
        p.add(Bytes.toBytes("personal"),Bytes.toBytes("age"),Bytes.toBytes("17"));
        p.add(Bytes.toBytes("contactinfo"),Bytes.toBytes("city"),Bytes.toBytes("Bengaluru"));
        p.add(Bytes.toBytes("contactinfo"),Bytes.toBytes("country"),Bytes.toBytes("India"));
        p.add(Bytes.toBytes("contactinfo"),Bytes.toBytes("email"),Bytes.toBytes("vivek@abcd.com"));
        
        // save the put Instance to the HTable.
        hTable.put(p);
        System.out.println("data inserted successfully");
        
        // close HTable instance
        hTable.close();

        
        
	}
}

 

 

 

19/11/20 16:15:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
19/11/20 16:15:10 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0xd344339 connecting to ZooKeeper ensemble=localhost:2181
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.5-cdh5.13.0--1, built on 10/04/2017 18:04 GMT
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:host.name=quickstart.cloudera
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_67
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.7.0_67-cloudera/jre
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.class.path=/home/cloudera/workspace/RDB2WCSDB/bin:/home/cloudera/Downloads/mysql-connector-java-5.1.48.jar:/usr/lib/hbase/hbase-annotations.jar:/usr/lib/hbase/hbase-annotations-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-annotations-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-annotations-tests.jar:/usr/lib/hbase/hbase-client.jar:/usr/lib/hbase/hbase-client-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-common.jar:/usr/lib/hbase/hbase-common-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-common-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-common-tests.jar:/usr/lib/hbase/hbase-examples.jar:/usr/lib/hbase/hbase-examples-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-external-blockcache.jar:/usr/lib/hbase/hbase-external-blockcache-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-hadoop2-compat.jar:/usr/lib/hbase/hbase-hadoop2-compat-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-hadoop2-compat-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-hadoop2-compat-tests.jar:/usr/lib/hbase/hbase-hadoop-compat.jar:/usr/lib/hbase/hbase-hadoop-compat-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-hadoop-compat-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-hadoop-compat-tests.jar:/usr/lib/hbase/hbase-it.jar:/usr/lib/hbase/hbase-it-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-it-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-it-tests.jar:/usr/lib/hbase/hbase-prefix-tree.jar:/usr/lib/hbase/hbase-prefix-tree-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-procedure.jar:/usr/lib/hbase/hbase-procedure-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-protocol.jar:/usr/lib/hbase/hbase-protocol-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-resource-bundle.jar:/usr/lib/hbase/hbase-resource-bundle-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-rest.jar:/usr/lib/hbase/hbase-rest-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-rsgroup.jar:/usr/lib/hbase/hbase-rsgroup-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-rsgroup-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-rsgroup-tests.jar:/usr/lib/hbase/hbase-server.jar:/usr/lib/hbase/hbase-server-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-server-1.2.0-cdh5.13.0-tests.jar:/usr/lib/hbase/hbase-server-tests.jar:/usr/lib/hbase/hbase-shell.jar:/usr/lib/hbase/hbase-shell-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-spark.jar:/usr/lib/hbase/hbase-spark-1.2.0-cdh5.13.0.jar:/usr/lib/hbase/hbase-thrift.jar:/usr/lib/hbase/hbase-thrift-1.2.0-cdh5.13.0.jar:/usr/lib/hadoop/client/activation.jar:/usr/lib/hadoop/client/activation-1.1.jar:/usr/lib/hadoop/client/apacheds-i18n.jar:/usr/lib/hadoop/client/apacheds-i18n-2.0.0-M15.jar:/usr/lib/hadoop/client/apacheds-kerberos-codec.jar:/usr/lib/hadoop/client/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/lib/hadoop/client/api-asn1-api.jar:/usr/lib/hadoop/client/api-asn1-api-1.0.0-M20.jar:/usr/lib/hadoop/client/api-util.jar:/usr/lib/hadoop/client/api-util-1.0.0-M20.jar:/usr/lib/hadoop/client/avro.jar:/usr/lib/hadoop/client/aws-java-sdk-bundle.jar:/usr/lib/hadoop/client/aws-java-sdk-bundle-1.11.134.jar:/usr/lib/hadoop/client/azure-data-lake-store-sdk.jar:/usr/lib/hadoop/client/azure-data-lake-store-sdk-2.2.3.jar:/usr/lib/hadoop/client/commons-beanutils.jar:/usr/lib/hadoop/client/commons-beanutils-1.9.2.jar:/usr/lib/hadoop/client/commons-beanutils-core.jar:/usr/lib/hadoop/client/commons-beanutils-core-1.8.0.jar:/usr/lib/hadoop/client/commons-cli.jar:/usr/lib/hadoop/client/commons-cli-1.2.jar:/usr/lib/hadoop/client/commons-codec.jar:/usr/lib/hadoop/client/commons-codec-1.4.jar:/usr/lib/hadoop/client/commons-collections.jar:/usr/lib/hadoop/client/commons-collections-3.2.2.jar:/usr/lib/hadoop/client/commons-compress.jar:/usr/lib/hadoop/client/commons-compress-1.4.1.jar:/usr/lib/hadoop/client/commons-configuration.jar:/usr/lib/hadoop/client/commons-configuration-1.6.jar:/usr/lib/hadoop/client/commons-digester.jar:/usr/lib/hadoop/client/commons-digester-1.8.jar:/usr/lib/hadoop/client/commons-httpclient.jar:/usr/lib/hadoop/client/commons-httpclient-3.1.jar:/usr/lib/hadoop/client/commons-io.jar:/usr/lib/hadoop/client/commons-io-2.4.jar:/usr/lib/hadoop/client/commons-lang.jar:/usr/lib/hadoop/client/commons-lang-2.6.jar:/usr/lib/hadoop/client/commons-logging.jar:/usr/lib/hadoop/client/commons-logging-1.1.3.jar:/usr/lib/hadoop/client/commons-math3.jar:/usr/lib/hadoop/client/commons-math3-3.1.1.jar:/usr/lib/hadoop/client/commons-net.jar:/usr/lib/hadoop/client/commons-net-3.1.jar:/usr/lib/hadoop/client/curator-client.jar:/usr/lib/hadoop/client/curator-client-2.7.1.jar:/usr/lib/hadoop/client/curator-framework.jar:/usr/lib/hadoop/client/curator-framework-2.7.1.jar:/usr/lib/hadoop/client/curator-recipes.jar:/usr/lib/hadoop/client/curator-recipes-2.7.1.jar:/usr/lib/hadoop/client/gson.jar:/usr/lib/hadoop/client/gson-2.2.4.jar:/usr/lib/hadoop/client/guava.jar:/usr/lib/hadoop/client/guava-11.0.2.jar:/usr/lib/hadoop/client/hadoop-annotations.jar:/usr/lib/hadoop/client/hadoop-annotations-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-auth.jar:/usr/lib/hadoop/client/hadoop-auth-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-aws.jar:/usr/lib/hadoop/client/hadoop-aws-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-azure-datalake.jar:/usr/lib/hadoop/client/hadoop-azure-datalake-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-common.jar:/usr/lib/hadoop/client/hadoop-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-hdfs.jar:/usr/lib/hadoop/client/hadoop-hdfs-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-app.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-app-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-common.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-core.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-core-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-jobclient.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-shuffle.jar:/usr/lib/hadoop/client/hadoop-mapreduce-client-shuffle-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-yarn-api.jar:/usr/lib/hadoop/client/hadoop-yarn-api-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-yarn-client.jar:/usr/lib/hadoop/client/hadoop-yarn-client-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-yarn-common.jar:/usr/lib/hadoop/client/hadoop-yarn-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/hadoop-yarn-server-common.jar:/usr/lib/hadoop/client/hadoop-yarn-server-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client/htrace-core4.jar:/usr/lib/hadoop/client/htrace-core4-4.0.1-incubating.jar:/usr/lib/hadoop/client/httpclient.jar:/usr/lib/hadoop/client/httpclient-4.2.5.jar:/usr/lib/hadoop/client/httpcore.jar:/usr/lib/hadoop/client/httpcore-4.2.5.jar:/usr/lib/hadoop/client/jackson-annotations.jar:/usr/lib/hadoop/client/jackson-annotations-2.2.3.jar:/usr/lib/hadoop/client/jackson-core.jar:/usr/lib/hadoop/client/jackson-core-2.2.3.jar:/usr/lib/hadoop/client/jackson-databind.jar:/usr/lib/hadoop/client/jackson-databind-2.2.3.jar:/usr/lib/hadoop/client/jackson-jaxrs.jar:/usr/lib/hadoop/client/jackson-jaxrs-1.8.8.jar:/usr/lib/hadoop/client/jackson-xc.jar:/usr/lib/hadoop/client/jackson-xc-1.8.8.jar:/usr/lib/hadoop/client/jaxb-api.jar:/usr/lib/hadoop/client/jaxb-api-2.2.2.jar:/usr/lib/hadoop/client/jersey-client.jar:/usr/lib/hadoop/client/jersey-client-1.9.jar:/usr/lib/hadoop/client/jersey-core.jar:/usr/lib/hadoop/client/jersey-core-1.9.jar:/usr/lib/hadoop/client/jetty-util.jar:/usr/lib/hadoop/client/jetty-util-6.1.26.cloudera.4.jar:/usr/lib/hadoop/client/jsr305.jar:/usr/lib/hadoop/client/jsr305-3.0.0.jar:/usr/lib/hadoop/client/leveldbjni-all.jar:/usr/lib/hadoop/client/leveldbjni-all-1.8.jar:/usr/lib/hadoop/client/log4j.jar:/usr/lib/hadoop/client/log4j-1.2.17.jar:/usr/lib/hadoop/client/netty.jar:/usr/lib/hadoop/client/netty-3.10.5.Final.jar:/usr/lib/hadoop/client/paranamer.jar:/usr/lib/hadoop/client/paranamer-2.3.jar:/usr/lib/hadoop/client/protobuf-java.jar:/usr/lib/hadoop/client/protobuf-java-2.5.0.jar:/usr/lib/hadoop/client/servlet-api.jar:/usr/lib/hadoop/client/servlet-api-2.5.jar:/usr/lib/hadoop/client/slf4j-api.jar:/usr/lib/hadoop/client/slf4j-api-1.7.5.jar:/usr/lib/hadoop/client/slf4j-log4j12.jar:/usr/lib/hadoop/client/snappy-java.jar:/usr/lib/hadoop/client/snappy-java-1.0.4.1.jar:/usr/lib/hadoop/client/stax-api.jar:/usr/lib/hadoop/client/stax-api-1.0-2.jar:/usr/lib/hadoop/client/xercesImpl.jar:/usr/lib/hadoop/client/xercesImpl-2.9.1.jar:/usr/lib/hadoop/client/xml-apis.jar:/usr/lib/hadoop/client/xml-apis-1.3.04.jar:/usr/lib/hadoop/client/xmlenc.jar:/usr/lib/hadoop/client/xmlenc-0.52.jar:/usr/lib/hadoop/client/xz.jar:/usr/lib/hadoop/client/xz-1.0.jar:/usr/lib/hadoop/client/zookeeper.jar:/usr/lib/hadoop/client-0.20/apacheds-i18n.jar:/usr/lib/hadoop/client-0.20/apacheds-i18n-2.0.0-M15.jar:/usr/lib/hadoop/client-0.20/apacheds-kerberos-codec.jar:/usr/lib/hadoop/client-0.20/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/lib/hadoop/client-0.20/api-asn1-api.jar:/usr/lib/hadoop/client-0.20/api-asn1-api-1.0.0-M20.jar:/usr/lib/hadoop/client-0.20/api-util.jar:/usr/lib/hadoop/client-0.20/api-util-1.0.0-M20.jar:/usr/lib/hadoop/client-0.20/asm.jar:/usr/lib/hadoop/client-0.20/asm-3.2.jar:/usr/lib/hadoop/client-0.20/avro.jar:/usr/lib/hadoop/client-0.20/aws-java-sdk-bundle.jar:/usr/lib/hadoop/client-0.20/aws-java-sdk-bundle-1.11.134.jar:/usr/lib/hadoop/client-0.20/azure-data-lake-store-sdk.jar:/usr/lib/hadoop/client-0.20/azure-data-lake-store-sdk-2.2.3.jar:/usr/lib/hadoop/client-0.20/commons-beanutils.jar:/usr/lib/hadoop/client-0.20/commons-beanutils-1.9.2.jar:/usr/lib/hadoop/client-0.20/commons-beanutils-core.jar:/usr/lib/hadoop/client-0.20/commons-beanutils-core-1.8.0.jar:/usr/lib/hadoop/client-0.20/commons-cli.jar:/usr/lib/hadoop/client-0.20/commons-cli-1.2.jar:/usr/lib/hadoop/client-0.20/commons-codec.jar:/usr/lib/hadoop/client-0.20/commons-codec-1.4.jar:/usr/lib/hadoop/client-0.20/commons-collections.jar:/usr/lib/hadoop/client-0.20/commons-collections-3.2.2.jar:/usr/lib/hadoop/client-0.20/commons-compress.jar:/usr/lib/hadoop/client-0.20/commons-compress-1.4.1.jar:/usr/lib/hadoop/client-0.20/commons-configuration.jar:/usr/lib/hadoop/client-0.20/commons-configuration-1.6.jar:/usr/lib/hadoop/client-0.20/commons-digester.jar:/usr/lib/hadoop/client-0.20/commons-digester-1.8.jar:/usr/lib/hadoop/client-0.20/commons-el.jar:/usr/lib/hadoop/client-0.20/commons-el-1.0.jar:/usr/lib/hadoop/client-0.20/commons-io.jar:/usr/lib/hadoop/client-0.20/commons-io-2.4.jar:/usr/lib/hadoop/client-0.20/commons-lang.jar:/usr/lib/hadoop/client-0.20/commons-lang-2.6.jar:/usr/lib/hadoop/client-0.20/commons-logging.jar:/usr/lib/hadoop/client-0.20/commons-logging-1.1.3.jar:/usr/lib/hadoop/client-0.20/commons-math3.jar:/usr/lib/hadoop/client-0.20/commons-math3-3.1.1.jar:/usr/lib/hadoop/client-0.20/commons-net.jar:/usr/lib/hadoop/client-0.20/commons-net-3.1.jar:/usr/lib/hadoop/client-0.20/curator-client.jar:/usr/lib/hadoop/client-0.20/curator-client-2.7.1.jar:/usr/lib/hadoop/client-0.20/curator-framework.jar:/usr/lib/hadoop/client-0.20/curator-framework-2.7.1.jar:/usr/lib/hadoop/client-0.20/curator-recipes.jar:/usr/lib/hadoop/client-0.20/curator-recipes-2.7.1.jar:/usr/lib/hadoop/client-0.20/gson.jar:/usr/lib/hadoop/client-0.20/gson-2.2.4.jar:/usr/lib/hadoop/client-0.20/guava.jar:/usr/lib/hadoop/client-0.20/guava-11.0.2.jar:/usr/lib/hadoop/client-0.20/hadoop-annotations.jar:/usr/lib/hadoop/client-0.20/hadoop-annotations-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-auth.jar:/usr/lib/hadoop/client-0.20/hadoop-auth-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-aws.jar:/usr/lib/hadoop/client-0.20/hadoop-aws-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-azure-datalake.jar:/usr/lib/hadoop/client-0.20/hadoop-azure-datalake-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-common.jar:/usr/lib/hadoop/client-0.20/hadoop-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-core.jar:/usr/lib/hadoop/client-0.20/hadoop-core-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hadoop-hdfs.jar:/usr/lib/hadoop/client-0.20/hadoop-hdfs-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/client-0.20/hsqldb.jar:/usr/lib/hadoop/client-0.20/hsqldb-1.8.0.10.jar:/usr/lib/hadoop/client-0.20/htrace-core4.jar:/usr/lib/hadoop/client-0.20/htrace-core4-4.0.1-incubating.jar:/usr/lib/hadoop/client-0.20/httpclient.jar:/usr/lib/hadoop/client-0.20/httpclient-4.2.5.jar:/usr/lib/hadoop/client-0.20/httpcore.jar:/usr/lib/hadoop/client-0.20/httpcore-4.2.5.jar:/usr/lib/hadoop/client-0.20/jackson-core-asl.jar:/usr/lib/hadoop/client-0.20/jackson-core-asl-1.8.8.jar:/usr/lib/hadoop/client-0.20/jackson-mapper-asl.jar:/usr/lib/hadoop/client-0.20/jackson-mapper-asl-1.8.8.jar:/usr/lib/hadoop/client-0.20/jersey-core.jar:/usr/lib/hadoop/client-0.20/jersey-core-1.9.jar:/usr/lib/hadoop/client-0.20/jersey-server.jar:/usr/lib/hadoop/client-0.20/jersey-server-1.9.jar:/usr/lib/hadoop/client-0.20/jsch.jar:/usr/lib/hadoop/client-0.20/jsch-0.1.42.jar:/usr/lib/hadoop/client-0.20/jsr305.jar:/usr/lib/hadoop/client-0.20/jsr305-3.0.0.jar:/usr/lib/hadoop/client-0.20/leveldbjni-all.jar:/usr/lib/hadoop/client-0.20/leveldbjni-all-1.8.jar:/usr/lib/hadoop/client-0.20/log4j.jar:/usr/lib/hadoop/client-0.20/log4j-1.2.17.jar:/usr/lib/hadoop/client-0.20/netty.jar:/usr/lib/hadoop/client-0.20/netty-3.10.5.Final.jar:/usr/lib/hadoop/client-0.20/netty-all.jar:/usr/lib/hadoop/client-0.20/netty-all-4.0.23.Final.jar:/usr/lib/hadoop/client-0.20/paranamer.jar:/usr/lib/hadoop/client-0.20/paranamer-2.3.jar:/usr/lib/hadoop/client-0.20/protobuf-java.jar:/usr/lib/hadoop/client-0.20/protobuf-java-2.5.0.jar:/usr/lib/hadoop/client-0.20/slf4j-api.jar:/usr/lib/hadoop/client-0.20/slf4j-api-1.7.5.jar:/usr/lib/hadoop/client-0.20/slf4j-log4j12.jar:/usr/lib/hadoop/client-0.20/snappy-java.jar:/usr/lib/hadoop/client-0.20/snappy-java-1.0.4.1.jar:/usr/lib/hadoop/client-0.20/xercesImpl.jar:/usr/lib/hadoop/client-0.20/xercesImpl-2.9.1.jar:/usr/lib/hadoop/client-0.20/xml-apis.jar:/usr/lib/hadoop/client-0.20/xml-apis-1.3.04.jar:/usr/lib/hadoop/client-0.20/xmlenc.jar:/usr/lib/hadoop/client-0.20/xmlenc-0.52.jar:/usr/lib/hadoop/client-0.20/xz.jar:/usr/lib/hadoop/client-0.20/xz-1.0.jar:/usr/lib/hadoop/client-0.20/zookeeper.jar:/usr/lib/hadoop/lib/activation-1.1.jar:/usr/lib/hadoop/lib/apacheds-i18n-2.0.0-M15.jar:/usr/lib/hadoop/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/lib/hadoop/lib/api-asn1-api-1.0.0-M20.jar:/usr/lib/hadoop/lib/api-util-1.0.0-M20.jar:/usr/lib/hadoop/lib/asm-3.2.jar:/usr/lib/hadoop/lib/avro.jar:/usr/lib/hadoop/lib/aws-java-sdk-bundle-1.11.134.jar:/usr/lib/hadoop/lib/azure-data-lake-store-sdk-2.2.3.jar:/usr/lib/hadoop/lib/commons-beanutils-1.9.2.jar:/usr/lib/hadoop/lib/commons-beanutils-core-1.8.0.jar:/usr/lib/hadoop/lib/commons-cli-1.2.jar:/usr/lib/hadoop/lib/commons-codec-1.4.jar:/usr/lib/hadoop/lib/commons-collections-3.2.2.jar:/usr/lib/hadoop/lib/commons-compress-1.4.1.jar:/usr/lib/hadoop/lib/commons-configuration-1.6.jar:/usr/lib/hadoop/lib/commons-digester-1.8.jar:/usr/lib/hadoop/lib/commons-el-1.0.jar:/usr/lib/hadoop/lib/commons-httpclient-3.1.jar:/usr/lib/hadoop/lib/commons-io-2.4.jar:/usr/lib/hadoop/lib/commons-lang-2.6.jar:/usr/lib/hadoop/lib/commons-logging-1.1.3.jar:/usr/lib/hadoop/lib/commons-math3-3.1.1.jar:/usr/lib/hadoop/lib/commons-net-3.1.jar:/usr/lib/hadoop/lib/curator-client-2.7.1.jar:/usr/lib/hadoop/lib/curator-framework-2.7.1.jar:/usr/lib/hadoop/lib/curator-recipes-2.7.1.jar:/usr/lib/hadoop/lib/gson-2.2.4.jar:/usr/lib/hadoop/lib/guava-11.0.2.jar:/usr/lib/hadoop/lib/hamcrest-core-1.3.jar:/usr/lib/hadoop/lib/htrace-core4-4.0.1-incubating.jar:/usr/lib/hadoop/lib/httpclient-4.2.5.jar:/usr/lib/hadoop/lib/httpcore-4.2.5.jar:/usr/lib/hadoop/lib/hue-plugins-3.9.0-cdh5.13.0.jar:/usr/lib/hadoop/lib/jackson-jaxrs-1.8.8.jar:/usr/lib/hadoop/lib/jackson-xc-1.8.8.jar:/usr/lib/hadoop/lib/jasper-compiler-5.5.23.jar:/usr/lib/hadoop/lib/jasper-runtime-5.5.23.jar:/usr/lib/hadoop/lib/java-xmlbuilder-0.4.jar:/usr/lib/hadoop/lib/jaxb-api-2.2.2.jar:/usr/lib/hadoop/lib/jaxb-impl-2.2.3-1.jar:/usr/lib/hadoop/lib/jersey-core-1.9.jar:/usr/lib/hadoop/lib/jersey-json-1.9.jar:/usr/lib/hadoop/lib/jersey-server-1.9.jar:/usr/lib/hadoop/lib/jets3t-0.9.0.jar:/usr/lib/hadoop/lib/jettison-1.1.jar:/usr/lib/hadoop/lib/jetty-6.1.26.cloudera.4.jar:/usr/lib/hadoop/lib/jetty-util-6.1.26.cloudera.4.jar:/usr/lib/hadoop/lib/jsch-0.1.42.jar:/usr/lib/hadoop/lib/jsp-api-2.1.jar:/usr/lib/hadoop/lib/jsr305-3.0.0.jar:/usr/lib/hadoop/lib/junit-4.11.jar:/usr/lib/hadoop/lib/log4j-1.2.17.jar:/usr/lib/hadoop/lib/logredactor-1.0.3.jar:/usr/lib/hadoop/lib/mockito-all-1.8.5.jar:/usr/lib/hadoop/lib/netty-3.10.5.Final.jar:/usr/lib/hadoop/lib/paranamer-2.3.jar:/usr/lib/hadoop/lib/protobuf-java-2.5.0.jar:/usr/lib/hadoop/lib/servlet-api-2.5.jar:/usr/lib/hadoop/lib/slf4j-api-1.7.5.jar:/usr/lib/hadoop/lib/slf4j-log4j12.jar:/usr/lib/hadoop/lib/snappy-java-1.0.4.1.jar:/usr/lib/hadoop/lib/stax-api-1.0-2.jar:/usr/lib/hadoop/lib/xmlenc-0.52.jar:/usr/lib/hadoop/lib/xz-1.0.jar:/usr/lib/hadoop/lib/zookeeper.jar:/usr/lib/hadoop/hadoop-annotations.jar:/usr/lib/hadoop/hadoop-annotations-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/hadoop-auth.jar:/usr/lib/hadoop/hadoop-auth-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/hadoop-aws.jar:/usr/lib/hadoop/hadoop-aws-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/hadoop-azure-datalake.jar:/usr/lib/hadoop/hadoop-azure-datalake-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/hadoop-common.jar:/usr/lib/hadoop/hadoop-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/hadoop-common-2.6.0-cdh5.13.0-tests.jar:/usr/lib/hadoop/hadoop-common-tests.jar:/usr/lib/hadoop/hadoop-nfs.jar:/usr/lib/hadoop/hadoop-nfs-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop/parquet-avro.jar:/usr/lib/hadoop/parquet-cascading.jar:/usr/lib/hadoop/parquet-column.jar:/usr/lib/hadoop/parquet-common.jar:/usr/lib/hadoop/parquet-encoding.jar:/usr/lib/hadoop/parquet-format.jar:/usr/lib/hadoop/parquet-format-javadoc.jar:/usr/lib/hadoop/parquet-format-sources.jar:/usr/lib/hadoop/parquet-generator.jar:/usr/lib/hadoop/parquet-hadoop.jar:/usr/lib/hadoop/parquet-hadoop-bundle.jar:/usr/lib/hadoop/parquet-jackson.jar:/usr/lib/hadoop/parquet-pig.jar:/usr/lib/hadoop/parquet-pig-bundle.jar:/usr/lib/hadoop/parquet-protobuf.jar:/usr/lib/hadoop/parquet-scala_2.10.jar:/usr/lib/hadoop/parquet-scrooge_2.10.jar:/usr/lib/hadoop/parquet-test-hadoop2.jar:/usr/lib/hadoop/parquet-thrift.jar:/usr/lib/hadoop/parquet-tools.jar:/usr/lib/hadoop-0.20-mapreduce/contrib/capacity-scheduler/lib/jackson-core-asl-1.0.1.jar:/usr/lib/hadoop-0.20-mapreduce/contrib/capacity-scheduler/lib/jackson-mapper-asl-1.0.1.jar:/usr/lib/hadoop-0.20-mapreduce/contrib/capacity-scheduler/lib/junit-4.8.1.jar:/usr/lib/hadoop-0.20-mapreduce/contrib/capacity-scheduler/lib/log4j-1.2.16.jar:/usr/lib/hadoop-0.20-mapreduce/contrib/capacity-scheduler/lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-ant-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-ant-mr1.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-core-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-core-mr1.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-examples.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-examples-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-examples-mr1.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-test-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-test-mr1.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-tools-2.6.0-mr1-cdh5.13.0.jar:/usr/lib/hadoop-0.20-mapreduce/hadoop-tools-mr1.jar:/usr/lib/hadoop-yarn/hadoop-yarn-api.jar:/usr/lib/hadoop-yarn/hadoop-yarn-api-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar:/usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-applications-unmanaged-am-launcher.jar:/usr/lib/hadoop-yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-client.jar:/usr/lib/hadoop-yarn/hadoop-yarn-client-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-common.jar:/usr/lib/hadoop-yarn/hadoop-yarn-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-registry.jar:/usr/lib/hadoop-yarn/hadoop-yarn-registry-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-applicationhistoryservice.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-applicationhistoryservice-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-common.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-common-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-nodemanager.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-nodemanager-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-resourcemanager.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-resourcemanager-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-tests.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-tests-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-web-proxy.jar:/usr/lib/hadoop-yarn/hadoop-yarn-server-web-proxy-2.6.0-cdh5.13.0.jar:/usr/lib/hadoop-hdfs/lib/asm-3.2.jar:/usr/lib/hadoop-hdfs/lib/commons-cli-1.2.jar:/usr/lib/hadoop-hdfs/lib/commons-codec-1.4.jar:/usr/lib/hadoop-hdfs/lib/commons-daemon-1.0.13.jar:/usr/lib/hadoop-hdfs/lib/commons-el-1.0.jar:/usr/lib/hadoop-hdfs/lib/commons-io-2.4.jar:/usr/lib/hadoop-hdfs/lib/commons-lang-2.6.jar:/usr/lib/hadoop-hdfs/lib/commons-logging-1.1.3.jar:/usr/lib/hadoop-hdfs/lib/guava-11.0.2.jar:/usr/lib/hadoop-hdfs/lib/htrace-core4-4.0.1-incubating.jar:/usr/lib/hadoop-hdfs/lib/jackson-core-asl-1.8.8.jar:/usr/lib/hadoop-hdfs/lib/jackson-mapper-asl-1.8.8.jar:/usr/lib/hadoop-hdfs/lib/jasper-runtime-5.5.23.jar:/usr/lib/hadoop-hdfs/lib/jersey-core-1.9.jar:/usr/lib/hadoop-hdfs/lib/jersey-server-1.9.jar:/usr/lib/hadoop-hdfs/lib/jetty-6.1.26.cloudera.4.jar:/usr/lib/hadoop-hdfs/lib/jetty-util-6.1.26.cloudera.4.jar:/usr/lib/hadoop-hdfs/lib/jsp-api-2.1.jar:/usr/lib/hadoop-hdfs/lib/jsr305-3.0.0.jar:/usr/lib/hadoop-hdfs/lib/leveldbjni-all-1.8.jar:/usr/lib/hadoop-hdfs/lib/log4j-1.2.17.jar:/usr/lib/hadoop-hdfs/lib/netty-3.10.5.Final.jar:/usr/lib/hadoop-hdfs/lib/protobuf-java-2.5.0.jar:/usr/lib/hadoop-hdfs/lib/servlet-api-2.5.jar:/usr/lib/hadoop-hdfs/lib/xercesImpl-2.9.1.jar:/usr/lib/hadoop-hdfs/lib/xml-apis-1.3.04.jar:/usr/lib/hadoop-hdfs/lib/xmlenc-0.52.jar
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:os.version=2.6.32-573.el6.x86_64
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:user.name=cloudera
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:user.home=/home/cloudera
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Client environment:user.dir=/home/cloudera/workspace/RDB2WCSDB
19/11/20 16:15:10 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=hconnection-0xd3443390x0, quorum=localhost:2181, baseZNode=/hbase
Exception in thread "main" java.io.IOException: java.lang.reflect.InvocationTargetException
	at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:240)
	at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:433)
	at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:426)
	at org.apache.hadoop.hbase.client.ConnectionManager.getConnectionInternal(ConnectionManager.java:304)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:185)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:151)
	at a_connection.createHBaseTable.main(createHBaseTable.java:21)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
	... 6 more
Caused by: java.lang.NoClassDefFoundError: org/apache/htrace/Trace
	at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:216)
	at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:419)
	at org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:65)
	at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:105)
	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:931)
	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:658)
	... 11 more
Caused by: java.lang.ClassNotFoundException: org.apache.htrace.Trace
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 17 more
19/11/20 16:15:10 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)