testing - Storm test case backtype.storm.multilang failed with backtype.storm.multilang.NoOutputException exception -


i clone latest version (master) of storm source code https://github.com/apache/storm.git. using ubuntu 14.02.

but when run "mvn test" command, test process fails , terminates @ backtype.storm.multilang-test.

here context of backtype.storm.multilang-test.xml file:

171293 [thread-1212-1] error b.s.util - async loop died! java.lang.runtimeexception: backtype.storm.multilang.nooutputexception: pipe subprocess seems broken! no output read. serializer exception:       @ backtype.storm.utils.shellprocess.launch(shellprocess.java:91) ~[classes/:?]     @ backtype.storm.spout.shellspout.open(shellspout.java:84) ~[classes/:?]     @ backtype.storm.daemon.executor$fn__4594$fn__4609.invoke(executor.clj:559) ~[classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:473) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] 171294 [thread-1212-1] error b.s.d.executor -  java.lang.runtimeexception: backtype.storm.multilang.nooutputexception: pipe subprocess seems broken! no output read. serializer exception:       @ backtype.storm.utils.shellprocess.launch(shellprocess.java:91) ~[classes/:?]     @ backtype.storm.spout.shellspout.open(shellspout.java:84) ~[classes/:?]     @ backtype.storm.daemon.executor$fn__4594$fn__4609.invoke(executor.clj:559) ~[classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:473) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] 171297 [thread-1221-2] info  b.s.d.executor - preparing bolt 2:(2) 171297 [thread-1221-2] info  b.s.u.shellprocess - storm multilang serializer: backtype.storm.multilang.jsonserializer 171298 [thread-1203-eventthread] info  o.a.c.f.s.connectionstatemanager - state change: connected 171300 [thread-1217-__acker] info  b.s.d.executor - preparing bolt __acker:(13) 171301 [thread-1217-__acker] info  b.s.d.executor - prepared bolt __acker:(13) 171301 [thread-1214-__system] info  b.s.d.executor - preparing bolt __system:(-1) 171300 [thread-1226-__acker] info  b.s.d.executor - preparing bolt __acker:(3) 171302 [thread-1214-__system] info  b.s.d.executor - prepared bolt __system:(-1) 171302 [thread-1226-__acker] info  b.s.d.executor - prepared bolt __acker:(3) 171302 [thread-1228-__acker] info  b.s.d.executor - preparing bolt __acker:(14) 171302 [thread-1228-__acker] info  b.s.d.executor - prepared bolt __acker:(14) 171300 [thread-1223-__system] info  b.s.d.executor - preparing bolt __system:(-1) 171304 [thread-1223-__system] info  b.s.d.executor - prepared bolt __system:(-1) 171304 [thread-1221-2] error b.s.util - async loop died! java.lang.runtimeexception: error when launching multilang subprocess      @ backtype.storm.utils.shellprocess.launch(shellprocess.java:87) ~[classes/:?]     @ backtype.storm.task.shellbolt.prepare(shellbolt.java:126) ~[classes/:?]     @ backtype.storm.daemon.executor$fn__4664$fn__4677.invoke(executor.clj:755) ~[classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:473) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] caused by: java.io.ioexception: broken pipe     @ java.io.fileoutputstream.writebytes(native method) ~[?:1.7.0_79]     @ java.io.fileoutputstream.write(fileoutputstream.java:345) ~[?:1.7.0_79]     @ java.io.bufferedoutputstream.flushbuffer(bufferedoutputstream.java:82) ~[?:1.7.0_79]     @ java.io.bufferedoutputstream.flush(bufferedoutputstream.java:140) ~[?:1.7.0_79]     @ java.io.dataoutputstream.flush(dataoutputstream.java:123) ~[?:1.7.0_79]     @ backtype.storm.multilang.jsonserializer.writestring(jsonserializer.java:96) ~[classes/:?]     @ backtype.storm.multilang.jsonserializer.writemessage(jsonserializer.java:89) ~[classes/:?]     @ backtype.storm.multilang.jsonserializer.connect(jsonserializer.java:61) ~[classes/:?]     @ backtype.storm.utils.shellprocess.launch(shellprocess.java:85) ~[classes/:?]     ... 5 more 171306 [thread-1221-2] error b.s.d.executor -  java.lang.runtimeexception: error when launching multilang subprocess      @ backtype.storm.utils.shellprocess.launch(shellprocess.java:87) ~[classes/:?]     @ backtype.storm.task.shellbolt.prepare(shellbolt.java:126) ~[classes/:?]     @ backtype.storm.daemon.executor$fn__4664$fn__4677.invoke(executor.clj:755) ~[classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:473) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] caused by: java.io.ioexception: broken pipe     @ java.io.fileoutputstream.writebytes(native method) ~[?:1.7.0_79]     @ java.io.fileoutputstream.write(fileoutputstream.java:345) ~[?:1.7.0_79]     @ java.io.bufferedoutputstream.flushbuffer(bufferedoutputstream.java:82) ~[?:1.7.0_79]     @ java.io.bufferedoutputstream.flush(bufferedoutputstream.java:140) ~[?:1.7.0_79]     @ java.io.dataoutputstream.flush(dataoutputstream.java:123) ~[?:1.7.0_79]     @ backtype.storm.multilang.jsonserializer.writestring(jsonserializer.java:96) ~[classes/:?]     @ backtype.storm.multilang.jsonserializer.writemessage(jsonserializer.java:89) ~[classes/:?]     @ backtype.storm.multilang.jsonserializer.connect(jsonserializer.java:61) ~[classes/:?]     @ backtype.storm.utils.shellprocess.launch(shellprocess.java:85) ~[classes/:?]     ... 5 more 171308 [thread-1231-__system] info  b.s.d.executor - preparing bolt __system:(-1) 171308 [thread-1231-__system] info  b.s.d.executor - prepared bolt __system:(-1) 171309 [thread-1233-__system] info  b.s.d.executor - preparing bolt __system:(-1) 171310 [thread-1233-__system] info  b.s.d.executor - prepared bolt __system:(-1) 171315 [thread-1235-__acker] info  b.s.d.executor - preparing bolt __acker:(15) 171315 [thread-1203] info  b.s.s.a.authutils - got autocreds [] 171315 [thread-1235-__acker] info  b.s.d.executor - prepared bolt __acker:(15) 171315 [thread-1203] info  b.s.d.worker - reading assignments. 171316 [thread-1238-__acker] info  b.s.d.executor - preparing bolt __acker:(16) 171316 [thread-1238-__acker] info  b.s.d.executor - prepared bolt __acker:(16) 171319 [refresh-active-timer] info  b.s.d.worker - connections ready worker 7dea90e5-ca16-4136-a112-88d756cd9014:1028 id a74f15a4-ce44-4959-89a5-483b4aff164f 171324 [thread-1203] info  b.s.d.worker - launching receive-thread 6737d54e-6cc5-4de7-af27-171ba758fb5b:1025 171325 [thread-1286-worker-receiver-thread-0] info  b.s.m.loader - starting receive-thread: [stormid: test-1-1438588543, port: 1025, thread-id: 0 ] 171325 [thread-1240-__acker] info  b.s.d.executor - preparing bolt __acker:(4) 171325 [thread-1240-__acker] info  b.s.d.executor - prepared bolt __acker:(4) 171325 [thread-1212-1] error b.s.util - halting process: ("worker died") java.lang.runtimeexception: ("worker died")     @ backtype.storm.util$exit_process_bang_.doinvoke(util.clj:332) [classes/:?]     @ clojure.lang.restfn.invoke(restfn.java:423) [clojure-1.6.0.jar:?]     @ backtype.storm.daemon.worker$fn__5151$fn__5152.invoke(worker.clj:532) [classes/:?]     @ backtype.storm.daemon.executor$mk_executor_data$fn__4493$fn__4494.invoke(executor.clj:261) [classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:485) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] 171325 [thread-1221-2] error b.s.util - halting process: ("worker died") java.lang.runtimeexception: ("worker died")     @ backtype.storm.util$exit_process_bang_.doinvoke(util.clj:332) [classes/:?]     @ clojure.lang.restfn.invoke(restfn.java:423) [clojure-1.6.0.jar:?]     @ backtype.storm.daemon.worker$fn__5151$fn__5152.invoke(worker.clj:532) [classes/:?]     @ backtype.storm.daemon.executor$mk_executor_data$fn__4493$fn__4494.invoke(executor.clj:261) [classes/:?]     @ backtype.storm.util$async_loop$fn__643.invoke(util.clj:485) [classes/:?]     @ clojure.lang.afn.run(afn.java:22) [clojure-1.6.0.jar:?]     @ java.lang.thread.run(thread.java:745) [?:1.7.0_79] 

any highly appreciated.

this problem has been solved after install nodejs manually. error due improper default nodejs installation on ubuntu.

here list of software required pass tests in apache storm:

  • list item
  • nodejs
  • python
  • zmq
  • ruby(requires json module installed)

hope list helpful failing pass tests.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -