分享

hadoop2.72+hbase1.2.0 habse java 连接不上

634623907 发表于 2016-4-6 08:41:57 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 14981
08:38:12,831  WARN NativeCodeLoader:62 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/F:/git/weirWQ/wq/WebRoot/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/MyEclipse/plugins/com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703/data/libraryset/EE_6/bean-validator.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/E:/MyEclipse/plugins/com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703/data/libraryset/EE_6/weld-osgi-bundle.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
08:38:15,807  INFO RecoverableZooKeeper:120 - Process identifier=hconnection-0x15bfd87 connecting to ZooKeeper ensemble=h1:9000
08:38:15,832  INFO ZooKeeper:100 - Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
08:38:15,833  INFO ZooKeeper:100 - Client environment:host.name=USER-20150619FE
08:38:15,833  INFO ZooKeeper:100 - Client environment:java.version=1.8.0_65
08:38:15,833  INFO ZooKeeper:100 - Client environment:java.vendor=Oracle Corporation
08:38:15,833  INFO ZooKeeper:100 - Client environment:java.home=C:\Program Files\Java\jdk1.8.0_65\jre
08:38:15,833  INFO ZooKeeper:100 - Client environment:java.class.path=F:\git\weirWQ\wq\WebRoot\WEB-INF\classes;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-cli-1.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-codec-1.7.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-collections-3.2.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-configuration-1.6.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-fileupload-1.3.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-io-2.4.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-lang-2.6-sources.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-lang-2.6.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\commons-logging-1.1.3.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\guava-12.0.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-annotations-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-archives-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-auth-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-common-2.7.2-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-common-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-datajoin-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-distcp-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-extras-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-gridmix-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-hdfs-2.7.2-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-hdfs-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-hdfs-nfs-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-app-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-common-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-core-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-hs-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-hs-plugins-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-jobclient-2.7.2-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-jobclient-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-client-shuffle-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-mapreduce-examples-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-nfs-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-openstack-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-rumen-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-sls-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-streaming-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-api-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-applications-distributedshell-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-applications-unmanaged-am-launcher-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-client-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-common-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-registry-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-applicationhistoryservice-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-common-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-nodemanager-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-resourcemanager-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-sharedcachemanager-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-tests-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hadoop-yarn-server-web-proxy-2.7.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-annotations-1.2.0-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-annotations-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-client-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-common-1.2.0-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-common-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-examples-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-external-blockcache-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-hadoop-compat-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-hadoop2-compat-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-it-1.2.0-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-it-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-prefix-tree-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-procedure-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-protocol-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-resource-bundle-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-rest-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-server-1.2.0-tests.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-server-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-shell-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\hbase-thrift-1.2.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\htrace-core-3.1.0-incubating.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jackson-all-1.9.11.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jackson-core-asl-1.9.13.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jackson-jaxrs-1.9.13.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jackson-mapper-asl-1.9.13.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jackson-xc-1.9.13.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jodconverter-core-3.0-beta-4-sources.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jodconverter-core-3.0-beta-4.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\json-20090211.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jstl-1.2_1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jstl-impl-1.2.2.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\juh-3.2.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\jurt-3.2.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\log4j-1.2.17.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\netty-all-4.0.23.Final.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\protobuf-java-2.5.0.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\ridl-3.2.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\slf4j-api-1.6.4.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\slf4j-log4j12-1.6.4.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-aop-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-aspects-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-beans-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-build-src-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-context-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-context-support-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-core-4.0.5.RELEASE-sources.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-core-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-expression-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-framework-bom-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-instrument-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-jdbc-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-jms-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-messaging-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-orm-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-oxm-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-test-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-tx-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-web-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-webmvc-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-webmvc-portlet-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\spring-websocket-4.0.5.RELEASE.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\unoil-3.2.1.jar;F:\git\weirWQ\wq\WebRoot\WEB-INF\lib\zookeeper-3.4.6.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\bean-validator.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.annotation.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.ejb.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.enterprise.deploy.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.jms.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.management.j2ee.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.persistence.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.resource.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.security.auth.message.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.security.jacc.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.servlet.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.servlet.jsp.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\javax.transaction.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\jaxb-api-osgi.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\jsr311-api.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\mail.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\webservices-api-osgi.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\EE_6\weld-osgi-bundle.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\JSTL1.2.1\lib\javax.servlet.jsp.jstl.jar;E:\MyEclipse\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201505121703\data\libraryset\JSTL1.2.2\lib\jstl-impl-1.2.2.jar;D:\gj\icepdflib\icepdf-core.jar;D:\gj\icepdflib\icepdf-viewer.jar;D:\gj\icepdflib\jai_codec.jar;D:\gj\icepdflib\jai_core.jar;D:\gj\icepdflib\jai_imageio-1.1.jar
08:38:15,834  INFO ZooKeeper:100 - Client environment:java.library.path=C:\Program Files\Java\jdk1.8.0_65\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;F:\app\Administrator\product\11.2.0\dbhome_2\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files\Java\jdk1.8.0_51\jre\bin;C:\Program Files\TortoiseSVN\bin;d:\Program Files (x86)\MyTouch\Keyboard;F:\apache-ant-1.9.6\bin;%HADOOP_HOME\bin;C:\Program Files\Git\bin;f:\Eclipse Che\eclipse-che-4.0.0-RC12\tools\jre\bin;E:\Program Files\MySQL\MySQL Server 5.7\bin;C:\Program Files\EsafeNet\Cobra DocGuard Client;C:\Program Files\Docker Toolbox;.
08:38:15,834  INFO ZooKeeper:100 - Client environment:java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp\
08:38:15,834  INFO ZooKeeper:100 - Client environment:java.compiler=<NA>
08:38:15,835  INFO ZooKeeper:100 - Client environment:os.name=Windows 7
08:38:15,835  INFO ZooKeeper:100 - Client environment:os.arch=amd64
08:38:15,835  INFO ZooKeeper:100 - Client environment:os.version=6.1
08:38:15,836  INFO ZooKeeper:100 - Client environment:user.name=Administrator
08:38:15,836  INFO ZooKeeper:100 - Client environment:user.home=C:\Users\Administrator
08:38:15,837  INFO ZooKeeper:100 - Client environment:user.dir=F:\git\weirWQ\wq
08:38:15,839  INFO ZooKeeper:438 - Initiating client connection, connectString=h1:9000 sessionTimeout=90000 watcher=hconnection-0x15bfd870x0, quorum=h1:9000, baseZNode=/hbase
08:38:16,255  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:16,257  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:16,311  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:18,431  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:18,432  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:18,434  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:20,496  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:20,498  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:20,500  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:22,417  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:22,419  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:22,420  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:23,597  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:23,598  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:23,600  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:24,741  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:24,743  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:24,744  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:26,318  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:26,320  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:26,321  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:28,275  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:28,277  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:28,278  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:30,210  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:30,211  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:30,213  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:32,262  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:32,265  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:32,266  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:33,599  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:33,601  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:33,603  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:33,704 ERROR RecoverableZooKeeper:277 - ZooKeeper exists failed after 4 attempts
08:38:33,707  WARN ZKUtil:422 - hconnection-0x15bfd870x0, quorum=h1:9000, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:221)
        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:905)
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:648)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:431)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnectionInternal(ConnectionManager.java:340)
        at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:144)
        at com.weirq.db.HbaseDB.<init>(HbaseDB.java:57)
        at com.weirq.db.HbaseDB.main(HbaseDB.java:702)
08:38:33,745 ERROR ZooKeeperWatcher:742 - hconnection-0x15bfd870x0, quorum=h1:9000, baseZNode=/hbase Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:221)
        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:905)
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:648)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:431)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnectionInternal(ConnectionManager.java:340)
        at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:144)
        at com.weirq.db.HbaseDB.<init>(HbaseDB.java:57)
        at com.weirq.db.HbaseDB.main(HbaseDB.java:702)
08:38:33,745  WARN ZooKeeperRegistry:110 - Can't retrieve clusterId from Zookeeper
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:221)
        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:905)
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:648)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:431)
        at org.apache.hadoop.hbase.client.ConnectionManager.createConnectionInternal(ConnectionManager.java:340)
        at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:144)
        at com.weirq.db.HbaseDB.<init>(HbaseDB.java:57)
        at com.weirq.db.HbaseDB.main(HbaseDB.java:702)
08:38:34,879  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:34,881  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:34,883  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:36,836  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:36,838  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:36,840  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:38,843  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:38,845  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:38,847  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:40,527  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:40,529  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:40,530  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
08:38:41,740  INFO ClientCnxn:975 - Opening socket connection to server h1/192.168.0.101:9000. Will not attempt to authenticate using SASL (unknown error)
08:38:41,742  INFO ClientCnxn:852 - Socket connection established to h1/192.168.0.101:9000, initiating session
08:38:41,743  INFO ClientCnxn:1098 - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect


已有(2)人评论

跳转到指定楼层
atsky123 发表于 2016-4-6 19:37:02
楼主这个问题不少
1.首先确保集群是正常的,特别是zookeeper
2.贴出源码


下面给楼主看下源码
private String clusterId = null;

@Override
public String getClusterId() {
      if (this.clusterId != null) return this.clusterId;
      // No synchronized here, worse case we will retrieve it twice, that's
//  not an issue.
ZooKeeperKeepAliveConnection zkw = null;
try {
zkw = hci.getKeepAliveZooKeeperWatcher();
        this.clusterId = ZKClusterId.readClusterIdZNode(zkw);
        if (this.clusterId == null) {
          LOG.info("ClusterId read in ZooKeeper is null");
        }
      } catch (KeeperException e) {
        LOG.warn("Can't retrieve clusterId from Zookeeper", e);
      } catch (IOException e) {
        LOG.warn("Can't retrieve clusterId from Zookeeper", e);
      } finally {
        if (zkw != null) zkw.close();
      }
     return this.clusterId;
    }

产生这个错误,是找不到集群id了




Unable to read additional data from server sessionid 0x0
这个错误可能是session出问题了,查看集群时间是否一致
回复

使用道具 举报

634623907 发表于 2016-4-7 08:08:41
问题解决了  连接hbase 集群写错了
Configuration conf = HBaseConfiguration.create();
                conf.set("hbase.zookeeper.quorum", "h5,h6,h7");
这个地方要写集群里面zookeeper 管理的节点
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条