AnsweredAssumed Answered

installing new cluster,

Question asked by gabi_k on Oct 5, 2011
Latest reply on Feb 28, 2012 by nabeel
Hi, 
  
When I am trying to install my new cluster (M3), i want to install it node by node, 
for example: 1 have 3 nodes, I want CLDB on node1, and ZK on node1-3, 
When I am trying to install and configure node1, I got the following error by the ZK log: 
  
... 
  
2011-10-06 13:21:38,783 - WARN  [WorkerSender Thread:QuorumCnxManager@379] - Cannot open channel to 1  at election address mapr2/106.103.1.42:3888 
java.net.ConnectException: Connection refused 
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) 
        at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100) 
        at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:366) 
        at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:335) 
        at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:360) 
        at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:333) 
        at java.lang.Thread.run(Thread.java:662) 
  
........ 
........ 
  
2011-10-06 13:24:24,244 - WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:5181:NIOServerCnxn@639] -Exception causing close of session 0x0 due to java.io.IOException: ZooKeeperServer not running 


and from the warden log file:

2011-10-06 13:29:56,966 ERROR com.mapr.warden.WardenManager connect [main]: Could not connect to ZK within: 30000 ms. Check if ZK connection defined correctly: mapr1:5181,mapr2:5181,mapr3:5181. No data from ZK will be returned. 


some more info: 
telnet -anp | grep 3888 :  
tcp        0      0 :::3888                     :::*                        LISTEN      7451/java 


iptables -L : 
Chain INPUT (policy ACCEPT) 
target     prot opt source               destination 
  
Chain FORWARD (policy ACCEPT) 
target     prot opt source               destination 
  
Chain OUTPUT (policy ACCEPT) 
target     prot opt source               destination 
  


What do you think I did wrong?

Thanks, 
Gabi

Outcomes