hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3705) forcemanual transitionToStandby in RM-HA automatic-failover mode should change elector state
Date Wed, 24 Jun 2015 19:46:05 GMT

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

Masatake Iwasaki updated YARN-3705:
-----------------------------------
    Attachment: YARN-3705.004.patch

I should not have used ResourceManager#handleTransitionToStandBy due to the way of error handling.
{code}
      } catch (Exception e) {
        LOG.fatal("Failed to transition RM to Standby mode.");
        ExitUtil.terminate(1, e);
{code}

004 is just using AdminService#resetLeaderElection. TestWorkPreservingRMRestart and TestRMRestart
are succeeded on my local environment.


> forcemanual transitionToStandby in RM-HA automatic-failover mode should change elector
state
> --------------------------------------------------------------------------------------------
>
>                 Key: YARN-3705
>                 URL: https://issues.apache.org/jira/browse/YARN-3705
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: YARN-3705.001.patch, YARN-3705.002.patch, YARN-3705.003.patch, YARN-3705.004.patch
>
>
> Executing {{rmadmin -transitionToStandby --forcemanual}} in automatic-failover.enabled
mode makes ResouceManager standby while keeping the state of ActiveStandbyElector. It should
make elector to quit and rejoin in order to enable other candidates to promote, otherwise
forcemanual transition should not be allowed in automatic-failover mode in order to avoid
confusion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message