ERROR SCREEN SHOT
Architecture
2 vm 's - linux os - 6
hadoop cluster (NO resource Manager HA,NO name Node HA)
Mentioned below is the Jps processes running
HDFS
YARN
NameNode,DataNode, Nodemanager
installed Zookeeper in the VM1
Started the Zkserver - 7378 QuorumPeerMain (client Server Port 2181)
When Trying to start the cli command line : getting the below error:
COMMAND
./zkCli.sh -server localhost:2181
ERROR
2019-12-20 10:02:41,625 - INFO [main:ZooKeeper@379] - Initiating client connection, connectString=localhost:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@76fb509a
2019-12-20 10:02:41,664 - INFO [main-SendThread():ClientCnxn$SendThread@1058] - Opening socket connection to server localhost/127.0.0.1:2181
Welcome to ZooKeeper!
JLine support is enabled
2019-12-20 10:02:41,786 - WARN [main-SendThread(localhost:2181):ClientCnxn$SendThread@1185] - 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:717)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
[zk: localhost:2181(CONNECTING) 0] 2019-12-20 10:02:42,597 - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1058] - Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181
Requesting team to please help me on this . your help is appreciated,