hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1639) YARM RM HA requires different configs on different RM hosts
Date Tue, 28 Jan 2014 08:11:38 GMT

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

Karthik Kambatla commented on YARN-1639:

Patch looks mostly good. Nits: 
# The following two lines can fit in one.
            errmsg = getInvalidValueMessage(YarnConfiguration.RM_HA_ID,
# The following three lines can fit in two.
      String msg = "Configuration " + YarnConfiguration.RM_ADDRESS +
          " must be suffixed with RM ID for HA " +
# The following two lines can fit in one.
# Rename variable to currentRMId? 
String currentRMID = conf.getTrimmed(YarnConfiguration.RM_HA_ID);
# rmIds is not used again, can go into the for-condition immediately following.
      Collection<String> rmIds = getRMHAIds(conf);
      for(String rmId : rmIds) {
# The initialization here is redundant
        InetSocketAddress s = null;

> YARM RM HA requires different configs on different RM hosts
> -----------------------------------------------------------
>                 Key: YARN-1639
>                 URL: https://issues.apache.org/jira/browse/YARN-1639
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Arpit Gupta
>            Assignee: Xuan Gong
>         Attachments: YARN-1639.1.patch
> We need to set yarn.resourcemanager.ha.id to rm1 or rm2 based on which rm you want to
first or second.
> This means we have different configs on different RM nodes. This is unlike HDFS HA where
the same configs are pushed to both NN's and it would be better to have the same setup for
RM as this would make installation and managing easier.

This message was sent by Atlassian JIRA

View raw message