Re: 关于使用SQL Client提交执行目标为yarn-per-job的作业时无日志文件(jobmanager.log)的求助

2022-04-27 Thread ruiyun wan
gt; executeInteractive:297, CliClient (org.apache.flink.table.client.cli) > executeInInteractiveMode:221, CliClient (org.apache.flink.table.client.cli) > openCli:151, SqlClient (org.apache.flink.table.client) > start:95, SqlClient (org.apache.flink.table.client) > startClient:187, SqlClient (org.apache.flink.t

Re: 关于使用SQL Client提交执行目标为yarn-per-job的作业时无日志文件(jobmanager.log)的求助

2022-04-27 Thread ruiyun wan
:46写道: > Hi. > 确认下 conf 下,是否有 log4j.properties > > 应该是在这个地放生成的, > > https://github.com/apache/flink/blob/release-1.13/flink-yarn/src/main/java/org/apache/flink/yarn/YarnClusterDescriptor.java#L1699 > > > ruiyun wan 于2022年4月26日周二 14:41写道: > > > Flink版本:1.13 &g

NO jobmanager.log for yarn-per-job submitted with sql-client.sh

2022-04-26 Thread ruiyun wan
Flink Version (1.13) There is not jobmanager.log file when submit yarn-per-job with sql-client.sh。(set execution.target = yarn-per-job;) There are not -Dlog.file and -Dlog4j.configuration properties argument in the auto-generated launch_container.sh on YARN cluster。e.g. the last line of

Re: job运行如何指定job名

2022-04-26 Thread ruiyun wan
-Dpipeline.name= 天道酬勤 <1262420...@qq.com.invalid> 于2022年4月26日周二 16:25写道: > 通过flink run 命令启动任务,如何指定job运行的名称 > 希望大家能给我一些建议!

关于使用SQL Client提交执行目标为yarn-per-job的作业时无日志文件(jobmanager.log)的求助

2022-04-26 Thread ruiyun wan
Flink版本:1.13 问题描述:使用sql-client.sh启动yarn-per-job(execution.target = yarn-per-job)时,在YARN集群侧生成的launch_container.sh中,启动org.apache.flink.yarn.entrypoint.YarnJobClusterEntrypoint的参数中无-Dlog.file和-Dlog4j.configuration属性参数,导致没有jobmanager.log日志文件,如何设置才能影响Yarn生成的launch_container.sh包含上述参数。