不多说,直接上干货!
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:)
// :: INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro02.kfk.com/192.168.80.152:. Will not attempt to authenticate using SASL (unknown error)
// :: WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:)
// :: INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro03.kfk.com/192.168.80.153:. Will not attempt to authenticate using SASL (unknown error)
// :: WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:)
// :: INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro01.kfk.com/192.168.80.151:. Will not attempt to authenticate using SASL (unknown error)
// :: WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:)
// :: INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro02.kfk.com/192.168.80.152:. Will not attempt to authenticate using SASL (unknown error)
// :: WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:)
// :: INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro03.kfk.com/192.168.80.153:. Will not attempt to authenticate using SASL (unknown error)
// :: WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
解决办法:
注意:之前,先得启动好,每台机器的zookeeper进程。
有时候,还不一定,管用。
最好,是先如下执行才能解决。
[zk: localhost:2181(CONNECTED) 0]
[zk: localhost:2181(CONNECTED) 0] ls /
[kfk, hbase, hadoop-ha, admin, zookeeper, consumers, config, rmstore, yarn-leader-election, brokers, controller_epoch]
[zk: localhost:2181(CONNECTED) 1] rmr /hadoop-ha
[zk: localhost:2181(CONNECTED) 2]
再执行,
[kfk@bigdata-pro01 ~]$ cd /opt/modules/hadoop-2.6./
[kfk@bigdata-pro01 hadoop-2.6.]$ cd bin/
[kfk@bigdata-pro01 bin]$ ./hdfs zkfc -formatZK
[kfk@bigdata-pro01 zookeeper-3.4.-cdh5.10.0]$ cd
[kfk@bigdata-pro01 ~]$ cd /opt/modules/hadoop-2.6./
[kfk@bigdata-pro01 hadoop-2.6.]$ cd bin/
[kfk@bigdata-pro01 bin]$ ./hdfs zkfc -formatZK
// :: WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
// :: INFO tools.DFSZKFailoverController: Failover controller configured for NameNode NameNode at bigdata-pro01.kfk.com/192.168.80.151:
// :: INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.-, built on // : GMT
// :: INFO zookeeper.ZooKeeper: Client environment:host.name=bigdata-pro01.kfk.com
// :: INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_79
// :: INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
// :: INFO zookeeper.ZooKeeper: Client environment:java.home=/opt/modules/jdk1..0_79/jre
// :: INFO zookeeper.ZooKeeper: Client environment:java.class.path=/opt/modules/hadoop-2.6./etc/hadoop:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-httpclient-3.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/api-util-1.0.-M20.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/curator-client-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jasper-runtime-5.5..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jersey-json-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/curator-recipes-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/avro-1.7..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/junit-4.11.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/httpclient-4.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/apacheds-kerberos-codec-2.0.-M15.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jackson-core-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/stax-api-1.0-.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jettison-1.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/hadoop-annotations-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/protobuf-java-2.5..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/slf4j-log4j12-1.7..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jsch-0.1..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jets3t-0.9..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-net-3.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jaxb-api-2.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-el-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-compress-1.4..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-logging-1.1..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/api-asn1-api-1.0.-M20.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/apacheds-i18n-2.0.-M15.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jackson-xc-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/httpcore-4.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/activation-1.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/guava-11.0..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-digester-1.8.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/netty-3.6..Final.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/xmlenc-0.52.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jsp-api-2.1.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-beanutils-1.7..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jackson-jaxrs-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/asm-3.2.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jetty-util-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-math3-3.1..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jasper-compiler-5.5..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/htrace-core-3.0..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-configuration-1.6.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/hadoop-auth-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jaxb-impl-2.2.-.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-collections-3.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/mockito-all-1.8..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/curator-framework-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/slf4j-api-1.7..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/gson-2.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/log4j-1.2..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jackson-mapper-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/zookeeper-3.4..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/commons-beanutils-core-1.8..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/paranamer-2.3.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/xz-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/hamcrest-core-1.3.jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jetty-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/common/lib/jsr305-1.3..jar:/opt/modules/hadoop-2.6./share/hadoop/common/hadoop-common-2.6.-tests.jar:/opt/modules/hadoop-2.6./share/hadoop/common/hadoop-common-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/common/hadoop-nfs-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jasper-runtime-5.5..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jackson-core-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/xercesImpl-2.9..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/xml-apis-1.3..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/protobuf-java-2.5..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-daemon-1.0..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-el-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-logging-1.1..jar:/opt/modu
les/hadoop-2.6./share/hadoop/hdfs/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/guava-11.0..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/netty-3.6..Final.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/xmlenc-0.52.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jsp-api-2.1.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/asm-3.2.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jetty-util-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/htrace-core-3.0..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/log4j-1.2..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jackson-mapper-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jetty-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/lib/jsr305-1.3..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/hadoop-hdfs-2.6.-tests.jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/hadoop-hdfs-nfs-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/hdfs/hadoop-hdfs-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-httpclient-3.1.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jline-0.9..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/javax.inject-.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jersey-json-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jackson-core-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/stax-api-1.0-.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/guice-servlet-3.0.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jettison-1.1.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/protobuf-java-2.5..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jaxb-api-2.2..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-compress-1.4..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jersey-client-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-logging-1.1..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jackson-xc-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/activation-1.1.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/guava-11.0..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/netty-3.6..Final.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jersey-guice-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/guice-3.0.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jackson-jaxrs-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/asm-3.2.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jetty-util-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jaxb-impl-2.2.-.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/commons-collections-3.2..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/log4j-1.2..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jackson-mapper-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/zookeeper-3.4..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/xz-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jetty-6.1..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/lib/jsr305-1.3..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-client-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-common-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-registry-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-common-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-server-tests-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-api-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/javax.inject-.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/avro-1.7..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/junit-4.11.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/jackson-core-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/hadoop-annotations-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/protobuf-java-2.5..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/commons-compress-1.4..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/netty-3.6..Final.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/guice-3.0.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/asm-3.2.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/log4j-1.2..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/paranamer-2.3.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/xz-1.0.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.6.-tests.jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.6..jar:/opt/modules/hadoop-2.6./share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.6..jar:/contrib/capacity-scheduler/*.jar
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.library.path=/opt/modules/hadoop-2.6.0/lib/native
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:os.version=2.6.32-431.el6.x86_64
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:user.name=kfk
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:user.home=/home/kfk
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:user.dir=/opt/modules/hadoop-2.6.0/bin
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=bigdata-pro01.kfk.com:2181,bigdata-pro02.kfk.com:2181,bigdata-pro03.kfk.com:2181 sessionTimeout=5000 watcher=org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef@7fde06bd
18/06/16 17:58:08 INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro03.kfk.com/192.168.80.153:2181. Will not attempt to authenticate using SASL (unknown error)
18/06/16 17:58:08 INFO zookeeper.ClientCnxn: Socket connection established to bigdata-pro03.kfk.com/192.168.80.153:2181, initiating session
18/06/16 17:58:08 INFO zookeeper.ClientCnxn: Session establishment complete on server bigdata-pro03.kfk.com/192.168.80.153:2181, sessionid = 0x364080804e20000, negotiated timeout = 5000
18/06/16 17:58:08 INFO ha.ActiveStandbyElector: Session connected.
18/06/16 17:58:08 INFO ha.ActiveStandbyElector: Successfully created /hadoop-ha/ns in ZK.
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Session: 0x364080804e20000 closed
18/06/16 17:58:08 INFO zookeeper.ClientCnxn: EventThread shut down
[kfk@bigdata-pro01 bin]$
欢迎大家,加入我的微信公众号:大数据躺过的坑 人工智能躺过的坑
同时,大家可以关注我的个人博客:
http://www.cnblogs.com/zlslch/ 和 http://www.cnblogs.com/lchzls/ http://www.cnblogs.com/sunnyDream/
详情请见:http://www.cnblogs.com/zlslch/p/7473861.html
人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获
对应本平台的讨论和答疑QQ群:大数据和人工智能躺过的坑(总群)(161156071)