[ https://issues.apache.org/jira/browse/STORM-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated STORM-3491: ---------------------------------- Labels: pull-request-available (was: ) > BoltReaderRunnable shouldn't throw IllegalArgumentException for sync command > ---------------------------------------------------------------------------- > > Key: STORM-3491 > URL: https://issues.apache.org/jira/browse/STORM-3491 > Project: Apache Storm > Issue Type: Bug > Affects Versions: 2.1.0 > Reporter: Ethan Li > Assignee: Ethan Li > Priority: Major > Labels: pull-request-available > > So I was preparing for a new release candidate i.e. rc3. I can build it from > source without any problem. Then I set up a standalone cluster and submitted > a WordCountTopology. The workers kept restarting because of > {code:java} > 2019-08-19 15:09:49.635 o.a.s.t.ShellBolt Thread-30 [ERROR] Halting process: > ShellBolt died. Command: [python, splitsentence.py], ProcessInfo pid:3756, > name:split exitCode:-1, errorString: > java.lang.IllegalArgumentException: command sync is not supported > at > org.apache.storm.task.ShellBolt$BoltReaderRunnable.run(ShellBolt.java:366) > [storm-client-2.1.0.jar:2.1.0] > at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] > 2019-08-19 15:09:49.635 o.a.s.e.e.ReportError Thread-30 [ERROR] Error > java.lang.IllegalArgumentException: command sync is not supported > at > org.apache.storm.task.ShellBolt$BoltReaderRunnable.run(ShellBolt.java:366) > [storm-client-2.1.0.jar:2.1.0] > at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] > 2019-08-19 15:09:49.636 o.a.s.t.ShellBolt Thread-28 [ERROR] Halting process: > ShellBolt died. Command: [python, splitsentence.py], ProcessInfo pid:3755, > name:split exitCode:-1, errorString: > java.lang.IllegalArgumentException: command sync is not supported > at > org.apache.storm.task.ShellBolt$BoltReaderRunnable.run(ShellBolt.java:366) > [storm-client-2.1.0.jar:2.1.0] > at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] > 2019-08-19 15:09:49.637 o.a.s.e.e.ReportError Thread-28 [ERROR] Error > java.lang.IllegalArgumentException: command sync is not supported > at > org.apache.storm.task.ShellBolt$BoltReaderRunnable.run(ShellBolt.java:366) > [storm-client-2.1.0.jar:2.1.0] > at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] > {code} > https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/task/ShellBolt.java#L365-L367 > I believe we shouldn’t throw exceptions here. -- This message was sent by Atlassian Jira (v8.3.2#803003)