ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Review Request 21775: AMBARI-5840 - Ambari recomission of datanodes will not work if the active namenode is "nn2"
Date Wed, 21 May 2014 17:19:22 GMT

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

Review request for Ambari, Mahadev Konar and Sumit Mohanty.


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


Repository: ambari


Description
-------

hdfs doesn't update both namenodes when the refreshNodes command is issued. We are correctly
executing the commands on both namenode hosts, but the bug is that only nn1 is being refreshed
(twice) and nn2 is left out of it (or vice versa whichever namenode is active).

In order to fix this problem, we need to execute a scoped hdfs command that targets the namenodes
explicitly. 


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs_namenode.py
0086b13 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py
a6fea72 

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


Testing
-------

Results :
Tests run: 1609, Failures: 0, Errors: 0, Skipped: 13

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:06.288s
[INFO] Finished at: Wed May 21 09:46:33 PDT 2014
[INFO] Final Memory: 20M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

Jonathan Hurley


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