Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0
Description
java.io.IOException: java.lang.NullPointerException
at org.apache.storm.daemon.supervisor.LocalContainer.launch(LocalContainer.java:57) ~[storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.supervisor.LocalContainerLauncher.launchContainer(LocalContainerLauncher.java:49) ~[storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.supervisor.Slot.handleWaitingForBlobUpdate(Slot.java:536) ~[storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:230) ~[storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:931) [storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
Caused by: java.lang.NullPointerException
at org.apache.storm.daemon.worker.WorkerState.readWorkerExecutors(WorkerState.java:623) ~[storm-client-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.worker.WorkerState.<init>(WorkerState.java:156) ~[storm-client-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.worker.Worker.loadWorker(Worker.java:174) ~[storm-client-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.worker.Worker.lambda$start$0(Worker.java:166) ~[storm-client-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
at javax.security.auth.Subject.doAs(Subject.java:422) ~[?:1.8.0_201]
at org.apache.storm.daemon.worker.Worker.start(Worker.java:165) ~[storm-client-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
at org.apache.storm.daemon.supervisor.LocalContainer.launch(LocalContainer.java:55) ~[storm-server-2.0.1-SNAPSHOT.jar:2.0.1-SNAPSHOT]
... 4 more
The issue is that the WorkerState tries to read executor assignment from ZK, and gets null back.
Attachments
Issue Links
- links to