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] [Commented] (YARN-3705) forcemanual transition of RM active/standby state in automatic-failover mode should change elector state
Date Mon, 25 May 2015 02:22:17 GMT

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

Masatake Iwasaki commented on YARN-3705:
----------------------------------------

When I invoked {{hdfs haadmin -transitionToStandby --forcemanual nn1}}, zkfc detected the
change of status and made standby (nn2) active. I think the behaviour in YARN is not consistent
with HDFS.

I'm going to try to add checking logic using o.a.h.ha.HealthMonitor to EmbeddedElectorService
of RM. Otherwise just making transitionToActive/transitionToStandby to change elector's status
might work for manual transition case.


> forcemanual transition of RM active/standby state in 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
>
> Executing {{rmadmin -transitionToActive --forcemanual}} and {{rmadmin -transitionToActive
--forcemanual}} in automatic-failover.enabled mode changes the active/standby state of ResouceManager
while keeping the state of ActiveStandbyElector. It should make elector to quit and rejoin
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