风暴异常:到子进程的管道似乎已断开

r1wp621o  于 2021-06-21  发布在  Storm
关注(0)|答案(1)|浏览(311)

嗨,我在生产服务器上设置了storm。跑步 supervisorctl status 给出以下输出

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
xqkwcwgp

xqkwcwgp1#

我检查了storm worker日志(../storm/logs/),发现这个问题是我的喷口编程中的一个错误。我引用了一个不存在的文件,问题现在解决了。无论如何谢谢你

相关问题