Skip to content

Commit

Permalink
[Optimize]Optimize flink application mode status refresh (#3853)
Browse files Browse the repository at this point in the history
Co-authored-by: liujian <liujian1@yidian-inc.com>
  • Loading branch information
maikouliujian and liujian authored Sep 30, 2024
1 parent 83878f4 commit 54ef08a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ private static Optional<JobStatus> getJobStatus(JobInfoDetail jobInfoDetail) {
ClusterConfigurationDTO clusterCfg = jobInfoDetail.getClusterConfiguration();
ClusterInstance clusterInstance = jobInfoDetail.getClusterInstance();
if (!Asserts.isNull(clusterCfg)
&& GatewayType.YARN_PER_JOB.getLongValue().equals(clusterInstance.getType())) {
&& (GatewayType.YARN_PER_JOB.getLongValue().equals(clusterInstance.getType())
|| GatewayType.YARN_APPLICATION.getLongValue().equals(clusterInstance.getType()))) {
try {
String appId = jobInfoDetail.getClusterInstance().getName();

Expand Down

0 comments on commit 54ef08a

Please sign in to comment.