ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 36784: When NameNode HA is enabled and JMX info is not available, RM/HBase Master, and other masters cannot be started
Date Fri, 24 Jul 2015 17:51:23 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36784/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-12534
    https://issues.apache.org/jira/browse/AMBARI-12534


Repository: ambari


Description
-------

We should get rid of using jmx for determining active namenode and use hdfs command for this
[root@c6401 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn1
active
[root@c6401 ~]# sudo -u hdfs hdfs haadmin -getServiceState nn2
standby
[root@c6401 ~]#


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py
8267172 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_ha_state.py
0b9c940 

Diff: https://reviews.apache.org/r/36784/diff/


Testing
-------

----------------------------------------------------------------------
Ran 262 tests in 8.793s

OK
----------------------------------------------------------------------
Total run:807
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message