Biao Geng created FLINK-28769: --------------------------------- Summary: Flink History Server show wrong name of batch jobs Key: FLINK-28769 URL: https://issues.apache.org/jira/browse/FLINK-28769 Project: Flink Issue Type: Bug Components: Runtime / Web Frontend Reporter: Biao Geng Attachments: image-2022-08-02-00-41-51-815.png
When running {{examples/batch/WordCount.jar}} using flink1.15 and 1.16 together with history server started, the history server shows default name(e.g. Flink Java Job at Tue Aug 02.. ) of the batch job instead of the name( "WordCount Example" ) specified in the java code. But for {{examples/streaming/WordCount.jar}}, the job name in history server is correct. It looks like that {{org.apache.flink.api.java.ExecutionEnvironment#executeAsync(java.lang.String)}} does not set job name as what {{org.apache.flink.streaming.api.environment.StreamExecutionEnvironment#execute(java.lang.String)}} does(e.g. streamGraph.setJobName(jobName); ). !image-2022-08-02-00-41-51-815.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)