AnsweredAssumed Answered

Problem installing mapr by installer (zookeeper connect time out)

Question asked by ykk on Jun 1, 2015
Latest reply on Jun 3, 2015 by kunal
I try to install mapr in 5 nodes and I got error in the "Finalizing cluster configuration" stage. I am not sure whether it is the problem to start mapr-zookeeper because I can see there are errors shown in the logs...

Here are the log show the error messages:


installer-process.log

    2015-06-01 09:11:13.074: * 09:11:13 Finalizing cluster configuration* 09:11:13 Finalizing cluster configuration
    mapr-cluster2: MapR CLDB failed to come on line within 600 seconds
    failed: [wait_for_cldb.sh MAX_WAIT=600] [mapr-cluster2] => {"failed": true}
    mapr-cluster3: MapR CLDB failed to come on line within 600 seconds
    mapr-cluster1: MapR CLDB failed to come on line within 600 seconds
    failed: [wait_for_cldb.sh MAX_WAIT=600] [mapr-cluster3] => {"failed": true}
    failed: [wait_for_cldb.sh MAX_WAIT=600] [mapr-cluster1] => {"failed": true}
    Host: mapr-cluster2 has 1 failures
    Control nodes have failures. Please fix the failures and re-run the installation. For more information refer to the installer log at /opt/mapr/installer/logs/mapr-installer.log
    Exiting with 1
    
    FATAL: all hosts have already failed -- aborting
    python script exited with 1

zookeeper.log

    2015-06-01 09:36:34,572 [myid:0] - INFO  [QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:5181:FastLeaderElection@774] - Notification time out: 60000
    2015-06-01 09:37:39,575 [myid:0] - WARN  [QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:5181:QuorumCnxManager@368] - Cannot open channel to 1 at election address mapr-cluster2/192.168.186.27:3888
    java.net.SocketTimeoutException: connect timed out
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
            at java.net.Socket.connect(Socket.java:589)
            at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:354)
            at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(QuorumCnxManager.java:388)
            at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:765)
            at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:716)
    2015-06-01 09:37:44,578 [myid:0] - WARN  [QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:5181:QuorumCnxManager@368] - Cannot open channel to 2 at election address mapr-cluster3/192.168.186.28:3888
    java.net.SocketTimeoutException: connect timed out
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
            at java.net.Socket.connect(Socket.java:589)
            at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:354)
            at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectAll(QuorumCnxManager.java:388)
            at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:765)
            at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:716)
    2015-06-01 09:37:44,580 [myid:0] - INFO  [QuorumPeer[myid=0]/0:0:0:0:0:0:0:0:5181:FastLeaderElection@774] - Notification time out: 60000

I have already grant access to required ports and also assigned related hosts in /etc/hosts.
Thanks in advance!



Outcomes