You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/08/07 16:58:20 UTC

Review Request 24454: After Namenode is moved via Ambari the hive metastore namenode hostname is not updated with the new namenode hostname

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

Review request for Ambari and Dmitro Lisnichenko.


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-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/24454/diff/


Testing
-------


Thanks,

Dmytro Sen


Re: Review Request 24454: After Namenode is moved via Ambari the hive metastore namenode hostname is not updated with the new namenode hostname

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24454/#review49895
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Aug. 7, 2014, 2:58 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24454/
> -----------------------------------------------------------
> 
> (Updated Aug. 7, 2014, 2:58 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> 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-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/24454/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 24454: After Namenode is moved via Ambari the hive metastore namenode hostname is not updated with the new namenode hostname

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24454/
-----------------------------------------------------------

(Updated Aug. 7, 2014, 3:19 p.m.)


Review request for Ambari and Dmitro Lisnichenko.


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-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/24454/diff/


Testing (updated)
-------

[INFO] Ambari Server ..................................... SUCCESS [16:58.768s]


Thanks,

Dmytro Sen