风暴异常:管道到子进程似乎被打破了

时间:2014-04-02 09:22:13

标签: apache-storm topology

您好我在生产服务器上设置风暴。运行supervisorctl status会发出以下outpug

storm_nimbus                     RUNNING    pid 24955, uptime 15:51:16
storm_supervisor                 RUNNING    pid 24953, uptime 15:51:16
storm_ui                         RUNNING    pid 24956, uptime 15:51:16
zookeeper                        RUNNING    pid 24954, uptime 15:51:16

进程正常运行但是当我提交拓扑时出现此错误

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Pipe to subprocess seems to be broken! No output read. Shell Process Exception: at backtype.storm.utils.Disruptor

我不知道为什么会发生这种情况,因为我在本地运行时拓扑工作正常。如何跟踪此错误的原因。我是暴风雨的新手......

详细错误:

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Pipe to subprocess seems to be broken! No output read.
Shell Process Exception:


    at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:87)
    at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:58)
    at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:62)
    at backtype.storm.daemon.executor$fn__4050$fn__4059$fn__4106.invoke(executor.clj:658)
    at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
    at clojure.lang.AFn.run(AFn.java:24)
    at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Pipe to subprocess seems to be broken! No output read.
Shell Process Exception:


    at backtype.storm.task.ShellBolt.execute(ShellBolt.java:139)
    at backtype.storm.daemon.executor$fn__4050$tuple_action_fn__4052.invoke(executor.clj:566)
    at backtype.storm.daemon.executor$mk_task_receiver$fn__3976.invoke(executor.clj:345)
    at backtype.storm.disruptor$clojure_handler$reify__1606.onEvent(disruptor.clj:43)
    at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
    ... 6 more
Caused by: java.lang.RuntimeException: Pipe to subprocess seems to be broken! No output read.
Shell Process Exception:


    at backtype.storm.utils.ShellProcess.readString(ShellProcess.java:100)
    at backtype.storm.utils.ShellProcess.readMessage(ShellProcess.java:62)
    at backtype.storm.task.ShellBolt$1.run(ShellBolt.java:90)
    ... 1 more

1 个答案:

答案 0 :(得分:0)

我检查了风暴工作者日志(../storm/logs/)并发现问题是我的鲸鱼喷水编程中的错误。我正在引用一个不存在的文件问题现在已解决。不管怎样,谢谢

相关问题