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 23:34:04 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.005.patch

findbugs warnings is about synchronization of {{autoFailoverEnabled}} variable.
{noformat}
M M IS: Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.AdminService.autoFailoverEnabled;
locked 66% of time  Unsynchronized access at AdminService.java:[line 129]
{noformat}

I removed the checking this variable in 005 because equivalent checking is done in AdminService#resetLeaderElection.


> 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,
YARN-3705.005.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