-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24181/
-----------------------------------------------------------
(Updated Aug. 1, 2014, 2:06 p.m.)
Review request for Ambari and Andrew Onischuk.
Bugs: AMBARI-6709
https://issues.apache.org/jira/browse/AMBARI-6709
Repository: ambari
Description
-------
The NameNode was moved using the "move" button in Ambari to a different host.
After this hive jobs were failing as the hive metastore refers to the old
hostname for namenode. (This is not a problem in a HA enabled cluster)
Steps to reproduce:
- Bring up a 4 node cluster which includes hive
- create sample hive tables
- move the namenode through ambari
- run /usr/lib/hive/bin/metatool -listFSRoot
- It will list the old namenode host
Diffs (updated)
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_service.py
8a57b01
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
5b6ac59
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 4e7df9d
Diff: https://reviews.apache.org/r/24181/diff/
Testing
-------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [6.405s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.356s]
[INFO] Ambari Web ........................................ SUCCESS [31.593s]
[INFO] Ambari Views ...................................... SUCCESS [2.588s]
[INFO] Ambari Admin View ................................. SUCCESS [11.430s]
[INFO] Ambari Server ..................................... SUCCESS [17:10.736s]
[INFO] Ambari Agent ...................................... SUCCESS [4.483s]
[INFO] Ambari Client ..................................... SUCCESS [0.032s]
[INFO] Ambari Python Client .............................. SUCCESS [0.684s]
[INFO] Ambari Groovy Client .............................. SUCCESS [8.753s]
[INFO] Ambari Shell ...................................... SUCCESS [0.027s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.092s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [4.414s]
Thanks,
Dmytro Sen