ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 24181: After Namenode is moved via Ambari the hive metastore namenode hostname is not updated with the new namenode hostname
Date Fri, 01 Aug 2014 13:39:30 GMT

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


Let's not change checked_call but use as it is, so we can debug any failures (with non-zero
returncode)

- Andrew Onischuk


On Aug. 1, 2014, 1:21 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24181/
> -----------------------------------------------------------
> 
> (Updated Aug. 1, 2014, 1:21 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
> -----
> 
>   ambari-agent/src/main/python/resource_management/core/shell.py 80e2a38 
>   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
> 
>


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