[ 
https://issues.apache.org/jira/browse/FLINK-32630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Wang updated FLINK-32630:
------------------------------
    Description: 
When a job fails to submit or run, the following log level should be changed to 
WARN or ERROR, INFO will confuse users
{code:java}
2023-07-14 20:05:26,863 INFO  
org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Job 
flink_test_job (0000000008eefd500000000000000000) switched from state FAILING 
to FAILED.
org.apache.flink.runtime.JobException: Recovery is suppressed by 
FailureRateRestartBackoffTimeStrategy(FailureRateRestartBackoffTimeStrategy(failuresIntervalMS=2400000,backoffTimeMS=20000,maxFailuresPerInterval=100)
 
2023-07-14 20:05:26,889 INFO  
org.apache.flink.runtime.dispatcher.StandaloneDispatcher     [] - Job 
0000000008eefd500000000000000000 reached terminal state FAILED.
org.apache.flink.runtime.JobException: Recovery is suppressed by 
FailureRateRestartBackoffTimeStrategy(FailureRateRestartBackoffTimeStrategy(failuresIntervalMS=2400000,backoffTimeMS=20000,maxFailuresPerInterval=100)

2023-07-14 20:05:26,956 INFO  
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap 
[] - Application FAILED: 
java.util.concurrent.CompletionException: 
org.apache.flink.client.deployment.application.ApplicationExecutionException: 
Could not execute application.{code}

  was:
When a job fails to submit or run, the following log level should be changed to 
WARN or ERROR, INFO will confuse users
{code:java}
2023-07-14 20:05:26,863 INFO  
org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Job 
flink_test_job (0000000008eefd500000000000000000) switched from state FAILING 
to FAILED.
org.apache.flink.runtime.JobException: Recovery is suppressed by 
FailureRateRestartBackoffTimeStrategy(FailureRateRestartBackoffTimeStrategy(failuresIntervalMS=2400000,backoffTimeMS=20000,maxFailuresPerInterval=100){code}
{code:java}
 {code}


> The log level should change from info to warn/error if job failed
> -----------------------------------------------------------------
>
>                 Key: FLINK-32630
>                 URL: https://issues.apache.org/jira/browse/FLINK-32630
>             Project: Flink
>          Issue Type: Improvement
>          Components: Client / Job Submission, Runtime / Coordination
>    Affects Versions: 1.17.1
>            Reporter: Matt Wang
>            Priority: Minor
>
> When a job fails to submit or run, the following log level should be changed 
> to WARN or ERROR, INFO will confuse users
> {code:java}
> 2023-07-14 20:05:26,863 INFO  
> org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Job 
> flink_test_job (0000000008eefd500000000000000000) switched from state FAILING 
> to FAILED.
> org.apache.flink.runtime.JobException: Recovery is suppressed by 
> FailureRateRestartBackoffTimeStrategy(FailureRateRestartBackoffTimeStrategy(failuresIntervalMS=2400000,backoffTimeMS=20000,maxFailuresPerInterval=100)
>  
> 2023-07-14 20:05:26,889 INFO  
> org.apache.flink.runtime.dispatcher.StandaloneDispatcher     [] - Job 
> 0000000008eefd500000000000000000 reached terminal state FAILED.
> org.apache.flink.runtime.JobException: Recovery is suppressed by 
> FailureRateRestartBackoffTimeStrategy(FailureRateRestartBackoffTimeStrategy(failuresIntervalMS=2400000,backoffTimeMS=20000,maxFailuresPerInterval=100)
> 2023-07-14 20:05:26,956 INFO  
> org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap 
> [] - Application FAILED: 
> java.util.concurrent.CompletionException: 
> org.apache.flink.client.deployment.application.ApplicationExecutionException: 
> Could not execute application.{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to