Its caused by this commit https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/task/ShellBolt.java#L302 which calling System.exit(11) a non-zero exit means there is a error which is making build to fail.
On Sat, Aug 23, 2014, at 09:44 AM, Harsha wrote: > Hi Rick, > > This seems to be a bug in latest changes to > ShellProcess or JsonSerializer not sure which commit caused > this issue yet. > > I am able to reproduce this in ubuntu 14 but not on OS X (tests > are passing fine there). Can you please file a JIRA. > > I don't think your changes needs to be on hold , you can > comment out > metrics_test.clj(storm-core/test/clj/backtype/storm/metrics_tes > t.clj) and run the build. > > Thanks, > > Harsha > > > > > > On Sat, Aug 23, 2014, at 01:05 AM, Kilgore, Rick (HBO) wrote: > > Please help – I need to make a couple modifications to > KafkaSpout for our needs and I’m planning to submit back a PR > to the main repo. But I can’t build. I’ve installed the > latest git, java 7, and mvn 3 via apt-get onto Ubuntu 14.04 > LTS. Then I run: > > git clone 'https://github.com/apache/incubator-storm' storm > > cd storm > > mvn clean install > > I get lots of exceptions, but I think most are expected as part > of the tests. Below is the output at the end that I’m > guessing is not good. I’ve also tried this on a Mac running > Mavericks and on an Amazon Linux installation. I’ve tried in > my usual shell setup, and with a stripped down bash setup with > a minimal PATH. The results are mostly the same, but > regardless always fails in some way. This is with what’s in > master now, without any changes by me. Here is the tail end of > my output from mvn install: > > 187855 [Thread-287] INFO backtype.storm.daemon.worker - Worker > 6b378fbc-cbcd-4ba4-aed8-9d8ad247eb2f for storm > shell-metrics-tester-1-3 on > 2e862cd2-ccaf-48ac-820e-6c5a714e9bc8:1024 has finished loading > > 187857 [Thread-291-2] INFO backtype.storm.task.ShellBolt - > Launched subprocess with pid 16985 > > 187858 [Thread-291-2] INFO backtype.storm.daemon.executor - > Prepared bolt 2:(2) > > 187873 [Thread-302] INFO backtype.storm.task.ShellBolt - > ShellLog pid:16985, name:2 bolt initializing > > 188651 [main] INFO backtype.storm.daemon.nimbus - Shutting > down master > > 188653 [main] INFO backtype.storm.daemon.nimbus - Shut down > master > > 188653 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] WARN > org.apache.zookeeper.server.NIOServerCnxn - caught end of > stream exception > > org.apache.zookeeper.server.ServerCnxn$EndOfStreamException: > Unable to read additional data from client sessionid > 0x14801d52e3d0001, likely client has > > closed socket > > at > org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.ja > va:228) ~[zookeeper-3.4.6.jar:3.4.6-1569965] > > at > org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerC > nxnFactory.java:208) [zookeeper-3.4.6.jar:3.4.6-1569965] > > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] > > 188658 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] WARN > org.apache.zookeeper.server.NIOServerCnxn - caught end of > stream exception > > org.apache.zookeeper.server.ServerCnxn$EndOfStreamException: > Unable to read additional data from client sessionid > 0x14801d52e3d0003, likely client has > > closed socket > > at > org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.ja > va:228) ~[zookeeper-3.4.6.jar:3.4.6-1569965] > > at > org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerC > nxnFactory.java:208) [zookeeper-3.4.6.jar:3.4.6-1569965] > > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] > > 188660 [main] INFO backtype.storm.daemon.supervisor - Shutting > down > 2e862cd2-ccaf-48ac-820e-6c5a714e9bc8:6b378fbc-cbcd-4ba4-aed8-9d > 8ad247eb2f > > 188660 [main] INFO backtype.storm.process-simulator - Killing > process d2a10e11-adbd-49cd-889c-5137777fdc56 > > 188660 [main] INFO backtype.storm.daemon.worker - Shutting > down worker shell-metrics-tester-1-3 > 2e862cd2-ccaf-48ac-820e-6c5a714e9bc8 1024 > > 188660 [main] INFO backtype.storm.daemon.worker - Shutting > down receive thread > > 188660 [main] INFO backtype.storm.messaging.loader - Shutting > down receiving-thread: [shell-metrics-tester-1-3, 1024] > > 188660 [main] INFO backtype.storm.messaging.loader - Waiting > for receiving-thread:[shell-metrics-tester-1-3, 1024] to die > > 188660 [main] INFO backtype.storm.messaging.loader - Shutdown > receiving-thread: [shell-metrics-tester-1-3, 1024] > > 188660 [main] INFO backtype.storm.daemon.worker - Shut down > receive thread > > 188660 [main] INFO backtype.storm.daemon.worker - Terminating > messaging context > > 188660 [main] INFO backtype.storm.daemon.worker - Shutting > down executors > > 188660 [main] INFO backtype.storm.daemon.executor - Shutting > down executor 2:[2 2] > > 188661 [Thread-300-worker-receiver-thread-0] INFO > backtype.storm.messaging.loader - > Receiving-thread:[shell-metrics-tester-1-3, 1024] received > shutdown notice > > 188661 [Thread-291-2] INFO backtype.storm.util - Async loop > interrupted! > > 188661 [Thread-290-disruptor-executor[2 2]-send-queue] INFO > backtype.storm.util - Async loop interrupted! > > 188662 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] WARN > org.apache.zookeeper.server.NIOServerCnxn - caught end of > stream exception > > org.apache.zookeeper.server.ServerCnxn$EndOfStreamException: > Unable to read additional data from client sessionid > 0x14801d52e3d0005, likely client has closed socket > > at > org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.ja > va:228) ~[zookeeper-3.4.6.jar:3.4.6-1569965] > > at > org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerC > nxnFactory.java:208) [zookeeper-3.4.6.jar:3.4.6-1569965] > > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] > > 188663 [main] INFO backtype.storm.daemon.executor - Shut down > executor 2:[2 2] > > 188663 [main] INFO backtype.storm.daemon.executor - Shutting > down executor __acker:[3 3] > > 188673 [Thread-293-__acker] INFO backtype.storm.util - Async > loop interrupted! > > 188674 [Thread-302] ERROR backtype.storm.task.ShellBolt - > Halting process: ShellBolt died. > > java.lang.RuntimeException: > backtype.storm.multilang.NoOutputException: Pipe to subprocess > seems to be broken! No output read. > > Serializer Exception: > > (Unable to capture error stream) > > at > backtype.storm.utils.ShellProcess.readShellMsg(ShellProcess.jav > a:101) ~[classes/:na] > > at > backtype.storm.task.ShellBolt$1.run(ShellBolt.java:116) > ~[classes/:na] > > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] > > 188674 [Thread-302] ERROR backtype.storm.daemon.executor - > > java.lang.RuntimeException: > backtype.storm.multilang.NoOutputException: Pipe to subprocess > seems to be broken! No output read. > > Serializer Exception: > > (Unable to capture error stream) > > at > backtype.storm.utils.ShellProcess.readShellMsg(ShellProcess.jav > a:101) ~[classes/:na] > > at > backtype.storm.task.ShellBolt$1.run(ShellBolt.java:116) > ~[classes/:na] > > at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] > > 188677 [Thread-292-disruptor-executor[3 3]-send-queue] INFO > backtype.storm.util - Async loop interrupted! > > 188677 [main] INFO backtype.storm.daemon.executor - Shut down > executor __acker:[3 3] > > 188678 [main] INFO backtype.storm.daemon.executor - Shutting > down executor > __metricsclojure.storm.metric.testing.FakeMetricConsumer:[4 4] > > > > Email had 1 attachment: > * mg_info.txt > 1k (text/plain)
