You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by flink2021 <ye...@163.com> on 2021/03/30 01:37:44 UTC

flink Container exited with a non-zero exit code 2. Error file: prelaunch.err. Last 4096 bytes of prelaunch.err

实时作业运行一段时间后报错:
Container exited with a non-zero exit code 2. Error file: prelaunch.err.
Last 4096 bytes of prelaunch.err
具体原因是什么呢?有哪位大佬帮忙看看呢,日志中只有这条错误提示,其它没有。



--
Sent from: http://apache-flink.147419.n8.nabble.com/

Re: flink Container exited with a non-zero exit code 2. Error file: prelaunch.err. Last 4096 bytes of prelaunch.err

Posted by Yang Wang <da...@gmail.com>.
这样的报错多半是Flink的JM/TM进程就没有被Yarn正常拉起,你查看Yarn的NodeManager日志
搜索对应的container,应该会有一些线索的

Best,
Yang

flink2021 <ye...@163.com> 于2021年3月30日周二 上午9:40写道:

> 实时作业运行一段时间后报错:
> Container exited with a non-zero exit code 2. Error file: prelaunch.err.
> Last 4096 bytes of prelaunch.err
> 具体原因是什么呢?有哪位大佬帮忙看看呢,日志中只有这条错误提示,其它没有。
>
>
>
> --
> Sent from: http://apache-flink.147419.n8.nabble.com/
>