AppScale / gts

AppScale is an easy-to-manage serverless platform for building and running scalable web and mobile applications on any infrastructure.
https://www.appscale.com/community/
Apache License 2.0
2.42k stars 277 forks source link

Zookeeper not working| Stuck at Waiting for head Node to initialize #3220

Open Abhijith4124 opened 4 years ago

Abhijith4124 commented 4 years ago

Error from ZooKeeper Log: EndOfStreamException: Unable to read additional data from client sessionid 0x16fa530aab40000, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:241) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:203) at java.lang.Thread.run(Thread.java:748)

Log from controller.log Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 I, [09.379568#865] INFO -- : Trying to use zookeeper server at 139.59.14.95. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [09.381110#865] WARN -- : [is_port_open](139.59.14.95, 2181): got Connection refused - connect(2) for "139.59.14.95" port 2181. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [10.381713#865] WARN -- : [is_port_open](139.59.14.95, 2181): got Connection refused - connect(2) for "139.59.14.95" port 2181. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [16.432172#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [21.434104#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [26.436158#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [31.438081#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [36.440053#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [40.470239#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [45.472121#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [50.473897#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [55.475841#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [00.477883#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [05.480509#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [10.482378#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [15.484230#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [20.486510#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [25.488296#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [30.490716#865] WARN -- : Unable to get state from zookeeper: trying again. Jan 14 18:08:41 ubuntu-s-2vcpu-4gb-blr1-01 W, [35.492543#865] WARN -- : Unable to get state from zookeeper: trying again.