[ 
https://issues.apache.org/jira/browse/YARN-8018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401051#comment-16401051
 ] 

Chandni Singh edited comment on YARN-8018 at 3/15/18 8:58 PM:
--------------------------------------------------------------

I see an issue with the finalization of upgrade. In my change I introduced 
event based state modification to service state. So during finalize the service 
master overwrites the service definition when handling the restart event. 

However, when flex is trigger, the service definition is overwritten from the 
rest server. So service definition is modified by different hosts. 

To solve this, we have 2 approaches:
 # move overwriting of service definition to AM during flex.  Otherwise, this 
is a potential problem during processing concurrent flex requests when there 
are multiple rest services? 
 
 # I change my patch to get rid of event base state handling of service. I 
added it because I think this makes handling of auto-finalize much easier and 
less prone to bugs.

Any thoughts?


was (Author: csingh):
I see an issue with the finalization of upgrade. In my change I introduced 
event based state modification to service state. So during finalize the service 
master overwrites the service definition when handling the restart event. 

However, when flex is trigger, the service definition is overwritten from the 
rest server. So service definition is modified by different hosts. 

To solve this, we have 2 approaches:
 # move overwriting of service definition to AM during flex.
 # I change my patch to get rid of event base state handling of service. I 
added it because I think this makes handling of auto-finalize much easier and 
less prone to bugs.

Any thoughts?

> Yarn service: Add support for initiating service upgrade
> --------------------------------------------------------
>
>                 Key: YARN-8018
>                 URL: https://issues.apache.org/jira/browse/YARN-8018
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>            Priority: Major
>         Attachments: YARN-8018.wip.patch
>
>
> Add support for initiating service upgrade which includes the following main 
> changes:
>  # Service API to initiate upgrade
>  # Persist service version on hdfs
>  # Start the upgraded version of service



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to