Member since
02-19-2017
2
Posts
0
Kudos Received
0
Solutions
03-12-2017
06:34 PM
I run a small cluster on virtual machines for testing and learning. At one time my Windows host crashed and I was forced to hard reset the computer. Afterward, zookeeper server on one host would stop on its own within one minute after starting. The log file is as follows: java.lang.RuntimeException: Unable to run quorum server at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:531) at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:473) at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:153) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) Caused by: java.io.IOException: Input/output error at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:255) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at java.io.FilterInputStream.read(FilterInputStream.java:83) at org.apache.zookeeper.server.persistence.FileTxnLog$PositionInputStream.read(FileTxnLog.java:443) at java.io.DataInputStream.readInt(DataInputStream.java:387) at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63) at org.apache.zookeeper.server.persistence.FileHeader.deserialize(FileHeader.java:64) at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:576) at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:595) at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:561) at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:543) at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:522) at org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:354) at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:132) at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223) at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:483) ... 4 more
... View more
Labels:
- Labels:
-
Apache Zookeeper
02-19-2017
08:56 PM
Hi I am testing out HDP on my local computer with a few virtual machines. I largely followed the spirit of this post: https://community.hortonworks.com/articles/39220/spinning-up-hadoop-hdp-cluster-on-local-machine-us.html but I did not use Vagrant provision. Instead, I am using four virtual machines on Windows host. Ambari server is up running on one of the vms already, but I cannot access from the browser of a fifth virtual machine (which I daily use for computing and development). I followed the general tips of diagnosis on this post: https://community.hortonworks.com/questions/26104/ambari-started-but-unable-to-open-in-web-ui.html. I can assure that SELinux and iptables are already disabled, and that the port is listened. However, if I telnet from my daily vm to the ambari server host it fails with "no route to host". What I can be sure of is that each vm can ssh into and ping one another. all virtual machines are using NAT networking. Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Ambari