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

Hudson commented on AMBARI-23700:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9123 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/9123/])
AMBARI-23700. Stack scripts should only try to reach corresponding (aonishuk: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=7c36855d73cf6c7ee46bdd2c4df883b6012695d0])
* (edit) 
ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
* (edit) 
ambari-common/src/main/python/resource_management/libraries/resources/hdfs_resource.py
* (edit) 
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
* (edit) ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* (edit) ambari-agent/src/main/python/ambari_agent/CommandStatusDict.py
* (edit) 
ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py


> Stack scripts should only try to reach corresponding Namenode pair in the 
> context rather than all NNs
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-23700
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23700
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>         Attachments: AMBARI-23700.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> A good example is when we start up a specific Namenode, say NN1. In that case,
> we try to get the HAState of all the NNs (even NN3 and NN4) to find out the
> active namenode. This is not really needed since starting up NN1 should not
> care about NN3 and NN4's state.
> I see usages in following places.
>   * 
> ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
>   * 
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_ha_state.py
>   * 
> ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py
> Some of the above might not need any change.



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

Reply via email to