hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3860) rmadmin -transitionToActive should check the state of non-target node
Date Tue, 30 Jun 2015 02:19:05 GMT

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

Junping Du commented on YARN-3860:
----------------------------------

bq. The only reason we don't want both RMs to be active is to avoid the split-brain situation.
Today, if both RMs become active, one of them fails to create the fencing-node and should
automatically transition to standby.
Actually, this behavior could confuse user as it sounds like which RM is chosen by randomly.
The expected behavior here is: if user doesn't specify "--forceactive" which means user may
not know other RM get activated now - nothing should get updated by YARN and a warning message
from CLI get thrown out if already another RM in activated state. No?

bq. I wonder if this affects the latency of transitioning active by any significant amount.
The only latency to add here is reading a YARN configuration which doesn't sounds like a problem
for user experience especially we support RM down with work preserving.

> rmadmin -transitionToActive should check the state of non-target node
> ---------------------------------------------------------------------
>
>                 Key: YARN-3860
>                 URL: https://issues.apache.org/jira/browse/YARN-3860
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.7.0
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>             Fix For: 2.8.0
>
>         Attachments: YARN-3860.001.patch, YARN-3860.002.patch, YARN-3860.003.patch
>
>
> Users can make both ResouceManagers active by {{rmadmin -transitionToActive}} even if
{{\--forceactive}} option is not given. {{haadmin -transitionToActive}} of HDFS checks whether
non-target nodes are already active but {{rmadmin -transitionToActive}} does not do.



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

Mime
View raw message