You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/03/28 17:25:00 UTC

[jira] [Commented] (AMBARI-25214) Moving resource manager does not update yarn.resourcemanager.address property

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

Hudson commented on AMBARI-25214:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #464 (See [https://builds.apache.org/job/Ambari-branch-2.7/464/])
AMBARI-25214. Moving resource manager does not update (aantonenko: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=5e12c139dfbc8e0fe89f9a5224b1391bde958ad9])
* (edit) ambari-web/app/utils/configs/move_rm_config_initializer.js


> Moving resource manager does not update yarn.resourcemanager.address property
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-25214
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25214
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.3
>            Reporter: Balázs Bence Sári
>            Assignee: Antonenko Alexander
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.7.4
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When Resource Manager is move in a Yarn HA cluster (maybe without HA too), the *yarn.resourcemanager.address.<suffix>* property is not updated unlike others (e.g. *yarn.resourcemanager.hostname.<suffix>* or *yarn.resourcemanager.webapp.address.<suffix>*).
> As a result, the moved resource manager stops after a while with an execption in the log:
> {code}
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Invalid configuration! Can not find valid RM_HA_ID. None of yarn.resourcemanager.address.rm1 yarn.resourcemanager.address.rm2  are matching the local address OR yarn.resourcemanager.ha.id is not specified in HA Configuration
>     at org.apache.hadoop.yarn.conf.HAUtil.throwBadConfigurationException(HAUtil.java:45)
>     at org.apache.hadoop.yarn.conf.HAUtil.verifyAndSetCurrentRMHAId(HAUtil.java:151)
>     at org.apache.hadoop.yarn.conf.HAUtil.verifyAndSetConfiguration(HAUtil.java:106)
>     at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:276)
>     at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
>     at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1512)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)