You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "kyungwan nam (JIRA)" <ji...@apache.org> on 2019/07/26 02:56:00 UTC
[jira] [Assigned] (YARN-9703) Failed to cancel yarn service upgrade
when canceling multiple times
[ https://issues.apache.org/jira/browse/YARN-9703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kyungwan nam reassigned YARN-9703:
----------------------------------
Assignee: kyungwan nam
Attachment: YARN-9703.001.patch
I've attached a patch that fixes it
please review or comment
thanks
> Failed to cancel yarn service upgrade when canceling multiple times
> -------------------------------------------------------------------
>
> Key: YARN-9703
> URL: https://issues.apache.org/jira/browse/YARN-9703
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn-native-services
> Reporter: kyungwan nam
> Assignee: kyungwan nam
> Priority: Major
> Attachments: YARN-9703.001.patch
>
>
> sleeptest.yarnfile
> {code:java}
> {
> "name":"sleeptest",
> "version":"1.0.0",
> "lifetime":"-1",
> "components":[
> {
> "name":"sleep",
> "number_of_containers":3,
> …
> }
> {code}
> how to reproduce
> * initiate upgrade
> * upgrade instance sleep-0
> * cancel upgrade -> it succeeded without any problem
> * initiate upgrade
> * upgrade instance sleep-0
> * cancel upgrade -> it didn’t work. at that time, AM logs are as follows.
> {code:java}
> 2019-07-26 10:12:20,057 [Component dispatcher] INFO instance.ComponentInstance - container_e72_1564103075282_0002_01_000004 pending cancellation
> 2019-07-26 10:12:20,057 [Component dispatcher] INFO instance.ComponentInstance - [COMPINSTANCE sleep-2 : container_e72_1564103075282_0002_01_000004] Transitioned from READY to CANCEL_UPGRADING on CANCEL_UPGRADE event
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org