I am seeing this exception and workers dying running WordCount topo from
the starter jar on my mac:
2023-07-27 14:05:15.089 o.a.s.u.Utils Thread-17-split-executor[22, 22]
[ERROR] Async loop died!
java.lang.RuntimeException: Error when launching multilang subprocess
at org.apache.storm.utils.ShellProcess.launch(ShellProcess.java:88)
~[storm-client-2.5.0.jar:2.5.0]
at org.apache.storm.task.ShellBolt.prepare(ShellBolt.java:156)
~[storm-client-2.5.0.jar:2.5.0]
at
org.apache.storm.executor.bolt.BoltExecutor.init(BoltExecutor.java:128)
~[storm-client-2.5.0.jar:2.5.0]
at
org.apache.storm.executor.bolt.BoltExecutor.call(BoltExecutor.java:138)
~[storm-client-2.5.0.jar:2.5.0]
at
org.apache.storm.executor.bolt.BoltExecutor.call(BoltExecutor.java:54)
~[storm-client-2.5.0.jar:2.5.0]
at org.apache.storm.utils.Utils$1.run(Utils.java:393)
[storm-client-2.5.0.jar:2.5.0]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.io.IOException: Cannot run program "python" (in
directory
"/Users/agresch/storm/apache-storm-2.5.0/storm-local/supervisor/stormdist/wc-2-1690484697/resources"):
error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) ~[?:?]
at org.apache.storm.utils.ShellProcess.launch(ShellProcess.java:81)
~[storm-client-2.5.0.jar:2.5.0]
... 6 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.ProcessImpl.forkAndExec(Native Method) ~[?:?]
at java.lang.ProcessImpl.<init>(ProcessImpl.java:340) ~[?:?]
at java.lang.ProcessImpl.start(ProcessImpl.java:271) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ~[?:?]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) ~[?:?]
at org.apache.storm.utils.ShellProcess.launch(ShellProcess.java:81)
~[storm-client-2.5.0.jar:2.5.0]
... 6 more
On Thu, Jul 27, 2023 at 9:19 AM Richard Zowalla <[email protected]> wrote:
> Yup. This is snakeyaml 2.0 related.
>
> @Julien: We had a similar issue in SC with version range syntax and
> snakeyaml :-)
>
> Gruß
> Richard
>
> Am 27. Juli 2023 16:13:30 MESZ schrieb Bipin Prasad <
> [email protected]>:
> >This appears to be the change in signature in snakeyaml 2.0 (which is
> used via transitive dependency in storm 2.5.0 release) vs the older
> smakeyaml 1.2.
> >
> >The maven artifacts are in apache staging area, for the duration of the
> vote.
> > https://repository.apache.org/content/groups/staging/.
> (/org/apache/storm/<artifact>/2.5.0)
> >
> >
> >On 2023/07/27 08:21:45 Julien Nioche wrote:
> >> Thanks Bipin,
> >>
> >> Are the Maven artefacts for the RC available somewhere?
> >>
> >> I am trying to run a Flux topology in local mode with code compiled
> with a
> >> dependency on 2.4 and am getting
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> *09:07:27.820 [main] ERROR o.a.s.s.o.a.z.s.NIOServerCnxnFactory - Thread
> >> Thread[main,5,main] diedjava.lang.reflect.InvocationTargetException:
> null
> >> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> ~[?:?] at
> >>
> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> >> ~[?:?] at
> >>
> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at
> >> org.apache.storm.LocalCluster.lambda$main$1(LocalCluster.java:401)
> >> ~[storm-server-2.5.0.jar:2.5.0] at
> >>
> org.apache.storm.LocalCluster.withLocalModeOverride(LocalCluster.java:349)
> >> ~[storm-server-2.5.0.jar:2.5.0] at
> >> org.apache.storm.LocalCluster.main(LocalCluster.java:394)
> >> ~[storm-server-2.5.0.jar:2.5.0]Caused by: java.lang.NoSuchMethodError:
> >> 'void
> org.yaml.snakeyaml.constructor.Constructor.<init>(java.lang.Class)'
> >> at org.apache.storm.flux.parser.FluxParser.yaml(FluxParser.java:203)
> >> ~[opencrawl-1.0-SNAPSHOT.jar:?] at
> >>
> org.apache.storm.flux.parser.FluxParser.parseInputStream(FluxParser.java:107)
> >> ~[opencrawl-1.0-SNAPSHOT.jar:?] at
> >> org.apache.storm.flux.parser.FluxParser.parseFile(FluxParser.java:68)
> >> ~[opencrawl-1.0-SNAPSHOT.jar:?] at
> >> org.apache.storm.flux.Flux.runCli(Flux.java:167)
> >> ~[opencrawl-1.0-SNAPSHOT.jar:?] at
> >> org.apache.storm.flux.Flux.main(Flux.java:119)
> >> ~[opencrawl-1.0-SNAPSHOT.jar:?] ... 7 more09:07:29.138 [SessionTracker]
> >> INFO o.a.s.s.o.a.z.s.SessionTrackerImpl - SessionTrackerImpl exited
> loop!*
> >> Being able to access the artefacts would help recompile and track
> >> incompatibility between versions.
> >>
> >> Thanks
> >>
> >> Julien
> >>
> >> On Tue, 25 Jul 2023 at 16:29, Bipin Prasad <[email protected]>
> wrote:
> >>
> >> > Storm Release candidate version 2.5.0 rc2 is here:
> >> > https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc2
> >> > Please vote on this release.
> >> >
> >> > 1. How to vote is described here:
> >> >
> >> >
> https://github.com/apache/storm/blob/master/RELEASING.md#how-to-vote-on-a-release-candidate
> >> > 2. Release notes are here:
> >> >
> >> >
> https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc2/RELEASE_NOTES.html
> >> > .
> >> > 3. The tag/commit to be voted upon is v2.5.0:
> >> > 4. The source archive being votes upon is here:
> >> >
> >> >
> https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc2/apache-storm-2.5.0-src.tar.gz
> >> > 5. The release artifacts are signed with the following key:
> >> >
> >> >
> https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x134716af768d9b6e
> >> > in
> >> > this file https://www.apache.org/dist/storm/KEYS
> >> >
> >> >
> >> > When voting, please list the actions taken to verify the release.
> >> > This vote will be open for at least 72 hours.
> >> >
> >> > [ ] +1 Release this package as Apache Storm 2.5.0
> >> > [ ] 0 No opinion
> >> > [ ] -1 Do not release this package because...
> >> >
> >> > Thanks to everyone who contributed to this release.
> >> >
> >> > --Bipin Prasad
> >> >
> >> > On Mon, Jun 26, 2023 at 4:15 PM Bipin Prasad <[email protected]>
> >> > wrote:
> >> >
> >> > > Storm Release candidate version 2.5.0 rc1 is here:
> >> > > https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc1
> >> > > Please vote on this release.
> >> > >
> >> > > 1. How to vote is described here:
> >> > >
> >> >
> https://github.com/apache/storm/blob/master/RELEASING.md#how-to-vote-on-a-release-candidate
> >> > > 2. Release notes are here:
> >> > >
> >> >
> https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc1/RELEASE_NOTES.html
> >> > > .
> >> > > 3. The tag/commit to be voted upon is v2.5.0:
> >> > > 4. The source archive being votes upon is here:
> >> > >
> >> >
> https://dist.apache.org/repos/dist/dev/storm/apache-storm-2.5.0-rc1/apache-storm-2.5.0-src.tar.gz
> >> > > 5. The release artifacts are signed with the following key:
> >> > >
> >> >
> https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x134716af768d9b6e
> >> > > in this file https://www.apache.org/dist/storm/KEYS
> >> > >
> >> > >
> >> > > When voting, please list the actions taken to verify the release.
> >> > > This vote will be open for at least 72 hours.
> >> > >
> >> > > [ ] +1 Release this package as Apache Storm 2.5.0
> >> > > [ ] 0 No opinion
> >> > > [ ] -1 Do not release this package because...
> >> > >
> >> > > Thanks to everyone who contributed to this release.
> >> > >
> >> > > --Bipin Prasad
> >> > >
> >> >
> >>
> >>
> >> --
> >>
> >> *Open Source Solutions for Text Engineering*
> >>
> >> http://www.digitalpebble.com
> >> http://digitalpebble.blogspot.com/
> >> #digitalpebble <http://twitter.com/digitalpebble>
> >>
>