Hi everybody,
I have a question about shutting down a LocalCluster.
This is my test environment :
- Windows 7 SP1
- Apache Storm 1.0.3
- Java 1.8.0_111
- Eclipse Mars.2 (4.5.2)
I'm running a simple topology using LocalCluster without any particular
configuration.
The problem appears after I kill the topology using
*LocalCluster::killTopology(String
arg0)*. After that, I stop the local cluster using
*LocalCluster::shutdown()*, then I have this ugly stack trace.
* 2017-11-20 16:52:04,993 ERROR o.a.s.d.s.ReadClusterState:181 - Failed to
Sync Supervisor java.lang.RuntimeException: java.lang.InterruptedException*
at org.apache.storm.utils.Utils.wrapInRuntime(Utils.java:1507)
at org.apache.storm.zookeeper.Zookeeper.getChildren(Zookeeper.java:260)
at
org.apache.storm.cluster.ZKStateStorage.get_children(ZKStateStorage.java:174)
at
org.apache.storm.cluster.StormClusterStateImpl.assignments(StormClusterStateImpl.java:153)
at
org.apache.storm.daemon.supervisor.ReadClusterState.run(ReadClusterState.java:126)
at org.apache.storm.event.EventManagerImp$1.run(EventManagerImp.java:54)
*Caused by: java.lang.InterruptedException*
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at
org.apache.storm.shade.org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1342)
at
org.apache.storm.shade.org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1588)
at
org.apache.storm.shade.org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1625)
at
org.apache.storm.shade.org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:210)
at
org.apache.storm.shade.org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203)
at
org.apache.storm.shade.org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:108)
at
org.apache.storm.shade.org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:200)
at
org.apache.storm.shade.org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191)
at
org.apache.storm.shade.org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38)
at org.apache.storm.zookeeper.Zookeeper.getChildren(Zookeeper.java:255)
... 4 more
Does anybody knows what can be the source of this problem ?
Maybe this is the normal behavior, I just want to know.
Thanks !
Regards,
Robin
*PS *: I found someone that have exactly the same problem on Stackoverflow
if it can help understand the problem (
https://stackoverflow.com/questions/45176886/error-running-storm-topology-locally/47396504
).