全网最详细的启动zkfc进程时,出现INFO zookeeper.ClientCnxn: Opening socket connection to server***/192.168.80.151:2181. Will not attempt to authenticate using SASL (unknown error)解决办法(图文详解)

    不多说,直接上干货!

    at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
18/06/16 17:57:01 INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro02.kfk.com/192.168.80.152:2181. Will not attempt to authenticate using SASL (unknown error)
18/06/16 17:57:01 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:739)
    at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
18/06/16 17:57:01 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:57:01 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:739)
    at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
18/06/16 17:57:02 INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro01.kfk.com/192.168.80.151:2181. Will not attempt to authenticate using SASL (unknown error)
18/06/16 17:57:02 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:739)
    at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
18/06/16 17:57:02 INFO zookeeper.ClientCnxn: Opening socket connection to server bigdata-pro02.kfk.com/192.168.80.152:2181. Will not attempt to authenticate using SASL (unknown error)
18/06/16 17:57:02 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:739)
    at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
18/06/16 17:57:02 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:57:02 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进程。

[[email protected] bin]$ pwd
/opt/modules/hadoop-2.6.0/bin
[[email protected] bin]$ ./hdfs zkfc -formatZK

  执行,

[[email protected] ~]$ cd /opt/modules/hadoop-2.6.0/
[[email protected]-pro01 hadoop-2.6.0]$ cd bin/
[[email protected]-pro01 bin]$ ./hdfs zkfc -formatZK

[[email protected] zookeeper-3.4.5-cdh5.10.0]$ cd
[[email protected]-pro01 ~]$ cd /opt/modules/hadoop-2.6.0/
[[email protected]-pro01 hadoop-2.6.0]$ cd bin/
[[email protected]-pro01 bin]$ ./hdfs zkfc -formatZK
18/06/16 17:58:07 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
18/06/16 17:58:08 INFO tools.DFSZKFailoverController: Failover controller configured for NameNode NameNode at bigdata-pro01.kfk.com/192.168.80.151:9000
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:host.name=bigdata-pro01.kfk.com
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_79
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.home=/opt/modules/jdk1.7.0_79/jre
18/06/16 17:58:08 INFO zookeeper.ZooKeeper: Client environment:java.class.path=/opt/modules/hadoop-2.6.0/etc/hadoop:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-httpclient-3.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/api-util-1.0.0-M20.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/curator-client-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jersey-json-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/curator-recipes-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/avro-1.7.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/junit-4.11.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/httpclient-4.2.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/stax-api-1.0-2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jettison-1.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/hadoop-annotations-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jsch-0.1.42.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jets3t-0.9.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-net-3.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-el-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-compress-1.4.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-logging-1.1.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/api-asn1-api-1.0.0-M20.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/httpcore-4.2.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/activation-1.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/guava-11.0.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-digester-1.8.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/netty-3.6.2.Final.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/xmlenc-0.52.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jsp-api-2.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/asm-3.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jetty-util-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-math3-3.1.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/htrace-core-3.0.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-configuration-1.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/hadoop-auth-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/mockito-all-1.8.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/curator-framework-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/slf4j-api-1.7.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/gson-2.2.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/log4j-1.2.17.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/zookeeper-3.4.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/paranamer-2.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/xz-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/hamcrest-core-1.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jetty-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/lib/jsr305-1.3.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/hadoop-common-2.6.0-tests.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/hadoop-common-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/common/hadoop-nfs-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jasper-runtime-5.5.23.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/xercesImpl-2.9.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/xml-apis-1.3.04.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-el-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/opt/modu
les/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/guava-11.0.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jsp-api-2.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/asm-3.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/htrace-core-3.0.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/lib/jsr305-1.3.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/hadoop-hdfs-2.6.0-tests.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/hadoop-hdfs-nfs-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/hdfs/hadoop-hdfs-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-httpclient-3.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jline-0.9.94.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/javax.inject-1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jersey-json-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-cli-1.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jackson-core-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/stax-api-1.0-2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jettison-1.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jaxb-api-2.2.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jersey-client-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-logging-1.1.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-codec-1.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jackson-xc-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/activation-1.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/guava-11.0.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/servlet-api-2.5.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/guice-3.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jackson-jaxrs-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/asm-3.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jetty-util-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-lang-2.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jaxb-impl-2.2.3-1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/commons-collections-3.2.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/log4j-1.2.17.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jackson-mapper-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/zookeeper-3.4.6.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/xz-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jetty-6.1.26.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/lib/jsr305-1.3.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-client-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-common-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-registry-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-common-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-api-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/javax.inject-1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/junit-4.11.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/jackson-core-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/hadoop-annotations-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/commons-io-2.4.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/guice-3.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/asm-3.2.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9.13.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/xz-1.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.6.0-tests.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.6.0.jar:/opt/modules/hadoop-2.6.0/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.6.0.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[email protected]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
[[email protected] 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) 

原文地址:https://www.cnblogs.com/zlslch/p/9191012.html

时间: 2024-10-12 21:40:07

全网最详细的启动zkfc进程时,出现INFO zookeeper.ClientCnxn: Opening socket connection to server***/192.168.80.151:2181. Will not attempt to authenticate using SASL (unknown error)解决办法(图文详解)的相关文章

全网最详细的启动或格式化zkfc时出现java.net.NoRouteToHostException: No route to host ... Will not attempt to authenticate using SASL (unknown error)错误的解决办法(图文详解)

不多说,直接上干货! 解决办法: 每台机器都,先执行,sudo chkconfig iptables off 再,执行 [[email protected] hadoop-2.6.0]$ sbin/hadoop-daemon.sh start zkfc starting zkfc, logging to /opt/modules/hadoop-2.6.0/logs/hadoop-kfk-zkfc-bigdata-pro01.kfk.com.out [[email protected]-pro01

全网最详细的启动Kafka服务时出现kafka.common.InconsistentBrokerIdException: Configured brokerId 3 doesn&#39;t match stored brokerId 1 in meta.properties错误的解决办法(图文详解)

不多说,直接上干货! 问题详情 执行bin/kafka-server-start.sh config/server.properties 时, [[email protected] kafka_2.11-0.9.0.0]$ bin/kafka-server-start.sh config/server.properties [2018-06-17 16:05:38,983] INFO KafkaConfig values: request.timeout.ms = 30000 log.roll.

全网最详细使用Scrapy时遇到0: UserWarning: You do not have a working installation of the service_identity module: &#39;cannot import name &#39;opentype&#39;&#39;. Please install it from ..的问题解决(图文详解)

不多说,直接上干货! 但是在运行爬虫程序的时候报错了,如下: D:\Code\PycharmProfessionalCode\study\python_spider\30HoursGetWebCrawlerByPython>cd shop D:\Code\PycharmProfessionalCode\study\python_spider\30HoursGetWebCrawlerByPython\shop>scrapy crawl tb :0: UserWarning: You do not

PHP生成页面二维码解决办法?详解

随着科技的进步,二维码应用领域越来越广泛,今天我给大家分享下如何使用PHP生成二维码,以及如何生成中间带LOGO图像的二维码. 具体工具: phpqrcode.php内库:这个文件可以到网上下载,如果没有可以加我微信 webolol 和我要下: 具体方法: 使用PHP二维码生成类库PHP QR Code生成二维码: <?php //引入phpqrcode库文件 include('phpqrcode.php'); $data = 'http://www.baidu.com'; //生成二维码的数据

虚拟机VMware下CentOS6.6安装教程图文详解

分享下,虚拟机VMware下CentOS6.6安装教程图文详解. CentOS 6.6 发布下载 地址: http://www.linuxidc.com/Linux/2014-10/108554.htm 1.首先要下载一个centos的iso镜像,我是用虚拟机VMware来安装的,用VMware最好创建一个空白硬盘. 2.创建完毕再设置里面挂载iso的centos系统文件. 3.进入到这个页面: 说明: 1.install or upgrade an existing system安装或升级现有

Linux CentOS 服务器搭建与初始化配置图文详解

这几天对服务器兴趣贼为浓厚,在虚拟机上装了一个CentOS7玩了玩,遇到过很多问题,比如网卡驱动设置,不能ping 等等问题,然后掏钱买个ECS搭服务器玩玩,下面就开始谢谢我的心路历程吧. 首先 买服务器,什么阿里云,百度云.腾讯云等等,随便买一个低配就好了,我买的学生机,9.9一个月,便宜的不能再便宜了,廉价的不能再廉价了. (自带mysql数据库,php Apache运行环境,FTP,VSftpd,这让我省了很多事) 第一步:安装jdk 去官网下载jdk(官网:http://www.orac

全网最详细的Eclipse和MyEclipse里对于Java web项目发布到Tomcat上运行成功的对比事宜【博主强烈推荐】【适合普通的还是Maven方式创建的】(图文详解)

不多说,直接上干货! 首先,大家要明确,IDEA.Eclipse和MyEclipse等编辑器之间的新建和运行手法是不一样的. 全网最详细的Eclipse里如何正确新建普通的Java web项目并发布到Tomcat上运行成功[博主强烈推荐](图文详解) Eclipse是 或者 MyEclipse是 由 变成 即,只有所框的部分过去了.并且自动改名为dat08. 用MyEclipse里自带的Web Browser检测: 用第三方安装的浏览器检测: 欢迎大家,加入我的微信公众号:大数据躺过的坑   

图文详解crond定时任务

第1章crontd的介绍   1.1crond的含义 crond是linux下用来周期性的执行某种任务或等待处理某些事件的一个守护进程,与windows下的计划任务类似,当安装完成操作系统后,默认会安装此服务工具,并且会自动启动crond进程,crond进程每分钟会定期检查是否有要执行的任务,如果有要执行的任务,则自动执行该任务. 1.2关于任务调度的分类 Linux下的任务调度分为两类,系统任务调度和用户任务调度. 1.系统任务调度:系统周期性所要执行的工作,比如写缓存数据到硬盘.日志清理等.

图文详解如何搭建Windows的Android C++开发环境

原地址:http://www.apkbus.com/android-18595-1-1.html //=====================================================================//TITLE://    图文详解如何搭建Windows的Android C++开发环境(一)//AUTHOR://    norains//DATE://    Thursday  14-April-2011//Environment://    Cygw