You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2023/03/23 08:52:17 UTC

[jira] [Updated] (FLINK-26129) Using fail method instead of kill method when yarn application deployment error occures

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

Xintong Song updated FLINK-26129:
---------------------------------
    Fix Version/s: 1.18.0
                       (was: 1.17.0)

> Using fail method instead of kill method when yarn application deployment error occures
> ---------------------------------------------------------------------------------------
>
>                 Key: FLINK-26129
>                 URL: https://issues.apache.org/jira/browse/FLINK-26129
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>    Affects Versions: 1.14.3
>            Reporter: zlzhang0122
>            Priority: Major
>             Fix For: 1.18.0
>
>
> When deploy an application using yarn, it add a DeploymentFailureHook and if the deployment duration exceed the applicationSubmitTimeout(this situation always occures when the resource is not sufficient,etc.).
> Now it uses yarnClient.killApplication() to kill fail this deployment, I think maybe we should using yarnClient.failApplicationAttempt() to fail the deployment. IMO, using fail method instead of kill method can trigger the retry action and is more reasonable.
> The change is very simple and only affect the yarn application deployment.



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