Rohith commented on YARN-2588:

bq. but I would like for us to call transitionToStandby in the catch-block 
instead of explicitly calling the contents of transitionToStandby
As I understand the comment, Is expecting change is like below..? CMIIAW, If 
yes, transitionToStandby return in intial state check itself. And end up in 
without creating active services and resetting dispatcher!!!
try {
          return null;
        } catch (Exception e) {
          throw e;

> Standby RM does not transitionToActive if previous transitionToActive is 
> failed with ZK exception.
> --------------------------------------------------------------------------------------------------
>                 Key: YARN-2588
>                 URL: https://issues.apache.org/jira/browse/YARN-2588
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 3.0.0, 2.6.0, 2.5.1
>            Reporter: Rohith
>            Assignee: Rohith
>             Fix For: 2.6.0
>         Attachments: YARN-2588.1.patch, YARN-2588.2.patch, YARN-2588.patch
> Consider scenario where, StandBy RM is failed to transition to Active because 
> of ZK exception(connectionLoss or SessionExpired). Then any further 
> transition to Active for same RM does not move RM to Active state.

This message was sent by Atlassian JIRA

Reply via email to