Support Questions
Find answers, ask questions, and share your expertise

Storm Supervisor shuts down itself

Expert Contributor

In Sandbox 2.6.4 Storm Supervisor shuts down itself.

2018-07-07 15:55:48.327 o.a.s.d.s.Slot [ERROR] Error when processing event
java.io.IOException: Unable to create directory /var/log/storm/workers-artifacts/wordcount-1-1530978941/6700
	at org.apache.storm.shade.org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:2472) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.AdvancedFSOps.forceMkdir(AdvancedFSOps.java:273) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Container.setup(Container.java:319) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.BasicContainerLauncher.launchContainer(BasicContainerLauncher.java:43) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.handleWaitingForBlobLocalization(Slot.java:387) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:275) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:741) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
2018-07-07 15:55:48.327 o.a.s.u.Utils [ERROR] Halting process: Error when processing an event
java.lang.RuntimeException: Halting process: Error when processing an event
	at org.apache.storm.utils.Utils.exitProcess(Utils.java:1774) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:774) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
2018-07-07 15:55:48.328 o.a.s.d.s.Slot [ERROR] Error when processing event
java.io.IOException: Unable to create directory /var/log/storm/workers-artifacts/wordcount-1-1530978941/6701
	at org.apache.storm.shade.org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:2472) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.AdvancedFSOps.forceMkdir(AdvancedFSOps.java:273) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Container.setup(Container.java:319) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.BasicContainerLauncher.launchContainer(BasicContainerLauncher.java:43) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.handleWaitingForBlobLocalization(Slot.java:387) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:275) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:741) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
2018-07-07 15:55:48.328 o.a.s.u.Utils [ERROR] Halting process: Error when processing an event
java.lang.RuntimeException: Halting process: Error when processing an event
	at org.apache.storm.utils.Utils.exitProcess(Utils.java:1774) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:774) ~[storm-core-1.1.0.2.6.4.0-91.jar:1.1.0.2.6.4.0-91]
2018-07-07 15:55:48.330 o.a.s.d.s.Supervisor [INFO] Shutting down supervisor 96f5d348-6eb2-4b0a-8e68-43657680143e
1 REPLY 1

@Erkan ŞİRİN By any chance did you change the permissions of /var/log/storm/workers-artifacts (or the parent directory)

becasue the exception says unable to create a directory.