java调hbase 出错了? 400 报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

java调hbase 出错了? 400 报错

爱吃鱼的程序员 2020-05-30 17:03:31 87

java调hbase 出错了? 400 报错

15/09/09 02:01:34 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x4ff85c27 connecting to ZooKeeper ensemble=192.168.2.101:2181 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:host.name=master 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_71 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.7.0_71/jre 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.class.path=/home/hadoop/workspace/hbase-demo/bin:/home/hadoop/workspace/hbase-demo/lib/activation-1.1.jar:/home/hadoop/workspace/hbase-demo/lib/asm-3.1.jar:/home/hadoop/workspace/hbase-demo/lib/avro-1.5.3.jar:/home/hadoop/workspace/hbase-demo/lib/avro-ipc-1.5.3.jar:/home/hadoop/workspace/hbase-demo/lib/commons-beanutils-1.7.0.jar:/home/hadoop/workspace/hbase-demo/lib/commons-beanutils-core-1.8.0.jar:/home/hadoop/workspace/hbase-demo/lib/commons-cli-1.2.jar:/home/hadoop/workspace/hbase-demo/lib/commons-codec-1.4.jar:/home/hadoop/workspace/hbase-demo/lib/commons-collections-3.2.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-configuration-1.6.jar:/home/hadoop/workspace/hbase-demo/lib/commons-digester-1.8.jar:/home/hadoop/workspace/hbase-demo/lib/commons-el-1.0.jar:/home/hadoop/workspace/hbase-demo/lib/commons-httpclient-3.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-io-2.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-lang-2.5.jar:/home/hadoop/workspace/hbase-demo/lib/commons-logging-1.1.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-math-2.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-net-1.4.1.jar:/home/hadoop/workspace/hbase-demo/lib/core-3.1.1.jar:/home/hadoop/workspace/hbase-demo/lib/guava-11.0.2.jar:/home/hadoop/workspace/hbase-demo/lib/hadoop-core-1.0.4.jar:/home/hadoop/workspace/hbase-demo/lib/high-scale-lib-1.1.1.jar:/home/hadoop/workspace/hbase-demo/lib/httpclient-4.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/httpcore-4.1.3.jar:/home/hadoop/workspace/hbase-demo/lib/jackson-core-asl-1.8.8.jar:/home/hadoop/workspace/hbase-demo/lib/jackson-jaxrs-1.8.8.jar:/home/hadoop/workspace/hbase-demo/lib/jackson-mapper-asl-1.8.8.jar:/home/hadoop/workspace/hbase-demo/lib/jackson-xc-1.8.8.jar:/home/hadoop/workspace/hbase-demo/lib/jamon-runtime-2.3.1.jar:/home/hadoop/workspace/hbase-demo/lib/jasper-compiler-5.5.23.jar:/home/hadoop/workspace/hbase-demo/lib/jasper-runtime-5.5.23.jar:/home/hadoop/workspace/hbase-demo/lib/jaxb-api-2.1.jar:/home/hadoop/workspace/hbase-demo/lib/jaxb-impl-2.2.3-1.jar:/home/hadoop/workspace/hbase-demo/lib/jersey-core-1.8.jar:/home/hadoop/workspace/hbase-demo/lib/jersey-json-1.8.jar:/home/hadoop/workspace/hbase-demo/lib/jersey-server-1.8.jar:/home/hadoop/workspace/hbase-demo/lib/jettison-1.1.jar:/home/hadoop/workspace/hbase-demo/lib/jetty-6.1.26.jar:/home/hadoop/workspace/hbase-demo/lib/jetty-util-6.1.26.jar:/home/hadoop/workspace/hbase-demo/lib/jruby-complete-1.6.5.jar:/home/hadoop/workspace/hbase-demo/lib/jsp-2.1-6.1.14.jar:/home/hadoop/workspace/hbase-demo/lib/jsp-api-2.1-6.1.14.jar:/home/hadoop/workspace/hbase-demo/lib/jsr305-1.3.9.jar:/home/hadoop/workspace/hbase-demo/lib/junit-4.10-HBASE-1.jar:/home/hadoop/workspace/hbase-demo/lib/libthrift-0.8.0.jar:/home/hadoop/workspace/hbase-demo/lib/log4j-1.2.16.jar:/home/hadoop/workspace/hbase-demo/lib/metrics-core-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/netty-3.2.4.Final.jar:/home/hadoop/workspace/hbase-demo/lib/servlet-api-2.5-6.1.14.jar:/home/hadoop/workspace/hbase-demo/lib/slf4j-api-1.4.3.jar:/home/hadoop/workspace/hbase-demo/lib/slf4j-log4j12-1.4.3.jar:/home/hadoop/workspace/hbase-demo/lib/snappy-java-1.0.3.2.jar:/home/hadoop/workspace/hbase-demo/lib/stax-api-1.0.1.jar:/home/hadoop/workspace/hbase-demo/lib/velocity-1.7.jar:/home/hadoop/workspace/hbase-demo/lib/xmlenc-0.52.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-annotations-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-examples-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-hadoop-compat-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-hadoop2-compat-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-it-0.98.9-hadoop2-tests.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-it-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-prefix-tree-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-protocol-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-rest-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-server-0.98.9-hadoop2-tests.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-server-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-shell-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-testing-util-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/zookeeper-3.4.6.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-common-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-checkstyle-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-thrift-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/hbase-client-0.98.9-hadoop2.jar:/home/hadoop/workspace/hbase-demo/lib/htrace-core-2.04.jar:/home/hadoop/workspace/hbase-demo/lib/guava-12.0.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-codec-1.7.jar:/home/hadoop/workspace/hbase-demo/lib/commons-compress-1.4.1.jar:/home/hadoop/workspace/hbase-demo/lib/commons-daemon-1.0.13.jar:/home/hadoop/workspace/hbase-demo/lib/aopalliance-1.0.jar:/home/hadoop/workspace/hbase-demo/lib/avro-1.7.4.jar:/home/hadoop/workspace/hbase-demo/lib/protobuf-java-2.5.0.jar:/home/hadoop/workspace/hbase-demo/lib/findbugs-annotations-1.3.9-1.jar:/home/hadoop/workspace/hbase-demo/lib/gmbal-api-only-3.0.0-b023.jar:/home/hadoop/workspace/hbase-demo/lib/grizzly-framework-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/grizzly-http-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/grizzly-http-server-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/grizzly-http-servlet-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/grizzly-rcm-2.1.2.jar:/home/hadoop/workspace/hbase-demo/lib/commons-io-2.4.jar 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.library.path=/usr/hadoop/lib/native:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:java.compiler=<NA> 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:os.version=2.6.32-431.el6.x86_64 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:user.name=hadoop 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:user.home=/home/hadoop 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Client environment:user.dir=/home/hadoop/workspace/hbase-demo 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.2.101:2181 sessionTimeout=90000 watcher=hconnection-0x4ff85c27, quorum=192.168.2.101:2181, baseZNode=/hbase 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.2.101/192.168.2.101:2181. Will not attempt to authenticate using SASL (unknown error) 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.2.101/192.168.2.101:2181, initiating session 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.2.101/192.168.2.101:2181, sessionid = 0x14faffa9c300035, negotiated timeout = 40000 15/09/09 02:01:34 INFO zookeeper.RecoverableZooKeeper: Process identifier=catalogtracker-on-hconnection-0x4ff85c27 connecting to ZooKeeper ensemble=192.168.2.101:2181 15/09/09 02:01:34 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.2.101:2181 sessionTimeout=90000 watcher=catalogtracker-on-hconnection-0x4ff85c27, quorum=192.168.2.101:2181, baseZNode=/hbase 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.2.101/192.168.2.101:2181. Will not attempt to authenticate using SASL (unknown error) 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.2.101/192.168.2.101:2181, initiating session 15/09/09 02:01:34 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.2.101/192.168.2.101:2181, sessionid = 0x14faffa9c300036, negotiated timeout = 40000 15/09/09 02:02:43 INFO client.RpcRetryingCaller: Call exception, tries=10, retries=35, retryTime=68602ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:03:03 INFO client.RpcRetryingCaller: Call exception, tries=11, retries=35, retryTime=88701ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:03:23 INFO client.RpcRetryingCaller: Call exception, tries=12, retries=35, retryTime=108789ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:03:43 INFO client.RpcRetryingCaller: Call exception, tries=13, retries=35, retryTime=128901ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:04:03 INFO client.RpcRetryingCaller: Call exception, tries=14, retries=35, retryTime=149063ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:04:23 INFO client.RpcRetryingCaller: Call exception, tries=15, retries=35, retryTime=169171ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:04:44 INFO client.RpcRetryingCaller: Call exception, tries=16, retries=35, retryTime=189237ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:05:04 INFO client.RpcRetryingCaller: Call exception, tries=17, retries=35, retryTime=209357ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:05:24 INFO client.RpcRetryingCaller: Call exception, tries=18, retries=35, retryTime=229510ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:05:44 INFO client.RpcRetryingCaller: Call exception, tries=19, retries=35, retryTime=249610ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:06:04 INFO client.RpcRetryingCaller: Call exception, tries=20, retries=35, retryTime=269751ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:06:24 INFO client.RpcRetryingCaller: Call exception, tries=21, retries=35, retryTime=289831ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:06:44 INFO client.RpcRetryingCaller: Call exception, tries=22, retries=35, retryTime=309853ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:07:04 INFO client.RpcRetryingCaller: Call exception, tries=23, retries=35, retryTime=330038ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:07:25 INFO client.RpcRetryingCaller: Call exception, tries=24, retries=35, retryTime=350238ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:07:45 INFO client.RpcRetryingCaller: Call exception, tries=25, retries=35, retryTime=370447ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:08:05 INFO client.RpcRetryingCaller: Call exception, tries=26, retries=35, retryTime=390633ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:08:25 INFO client.RpcRetryingCaller: Call exception, tries=27, retries=35, retryTime=410836ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:08:45 INFO client.RpcRetryingCaller: Call exception, tries=28, retries=35, retryTime=430875ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:09:05 INFO client.RpcRetryingCaller: Call exception, tries=29, retries=35, retryTime=450944ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:09:25 INFO client.RpcRetryingCaller: Call exception, tries=30, retries=35, retryTime=471126ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:09:46 INFO client.RpcRetryingCaller: Call exception, tries=31, retries=35, retryTime=491333ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:10:06 INFO client.RpcRetryingCaller: Call exception, tries=32, retries=35, retryTime=511523ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:10:26 INFO client.RpcRetryingCaller: Call exception, tries=33, retries=35, retryTime=531733ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:10:46 INFO client.RpcRetryingCaller: Call exception, tries=34, retries=35, retryTime=551751ms, msg=row 'table1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=slave1,60020,1441766692092, seqNum=0 15/09/09 02:10:46 INFO zookeeper.ClientCnxn: EventThread shut down 15/09/09 02:10:46 INFO zookeeper.ZooKeeper: Session: 0x14faffa9c300036 closed Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions: Wed Sep 09 02:01:35 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:35 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:35 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:36 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:38 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:42 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:01:52 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:02:03 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:02:13 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:02:23 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:02:43 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:03:03 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:03:23 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:03:43 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:04:03 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:04:23 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:04:44 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:05:04 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:05:24 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:05:44 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:06:04 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:06:24 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:06:44 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:07:04 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:07:25 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:07:45 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:08:05 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:08:25 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:08:45 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:09:05 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:09:25 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:09:46 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:10:06 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:10:26 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper Wed Sep 09 02:10:46 PDT 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@80c8fe2, java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper

at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:133)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:93)
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:283)
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:188)
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:183)
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:110)
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:771)
at org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:542)
at org.apache.hadoop.hbase.catalog.MetaReader.tableExists(MetaReader.java:310)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:307)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:321)
at cn.itcast.hbase.testHbase.createTable(testHbase.java:84)
at cn.itcast.hbase.testHbase.main(testHbase.java:46)

Caused by: java.io.IOException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper at org.apache.hadoop.hbase.protobuf.ProtobufUtil.getRemoteException(ProtobufUtil.java:286) at org.apache.hadoop.hbase.client.ScannerCallable.openScanner(ScannerCallable.java:316) at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:164) at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:59) at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:117) ... 12 more Caused by: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1678) at org.apache.hadoop.hbase.ipc.RpcClient$BlockingRpcChannelImplementation.callBlockingMethod(RpcClient.java:1719) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:30387) at org.apache.hadoop.hbase.client.ScannerCallable.openScanner(ScannerCallable.java:308) ... 15 more Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper at org.apache.hadoop.hbase.ipc.RpcClient.createConnection(RpcClient.java:351) at org.apache.hadoop.hbase.ipc.RpcClient.getConnection(RpcClient.java:1530) at org.apache.hadoop.hbase.ipc.RpcClient.call(RpcClient.java:1442) at org.apache.hadoop.hbase.ipc.RpcClient.callBlockingMethod(RpcClient.java:1661) ... 18 more Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.net.SocketInputWrapper 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) ... 22 more



分布式计算 Oracle Hadoop Java 关系型数据库 Linux 分布式数据库 Apache Hbase
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-05-30 17:03:33

    java.lang.NoClassDefFoundError: org/apache/hadoop/net/SocketInputWrapper######

    引用来自“Rayn-瑞恩”的评论

    java.lang.NoClassDefFoundError: qorg/apache/hadoop/net/SocketInputWrapper
    我也看到了,但是不知道导哪个包解决此问题??######你去common里面看看有没有。。。。######

    我也遇到了相同问题,请问

    ######看看zookeeper的状态,看看其他节点的字符串是不是一致的, 最后就是不要用hbase,换个mongodb或者redis######请问您是怎么解决的######

    你看看60020端口有没有开放,前面报的错误是连接不到R

    0 0
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

推荐文章
相似问题
推荐课程