You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jonathan Hurley <jh...@hortonworks.com> on 2015/10/16 20:11:32 UTC

Review Request 39403: Hive Metastore Upgrade Retry Fails Because Of Driver Copy Issue

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

Review request for Ambari, Alejandro Fernandez, Jayush Luniya, and Nate Cole.


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


Repository: ambari


Description
-------

*Problem:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry*, Ambari cannot restart Hive Metastore. This situation can occur if Hive Metastore is using an external database (such as Oracle).
*Solution:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry* in the Rolling Upgrade Wizard, Ambari cannot restart Hive Metastore and displays the following error in Ambari:
{code}
resource_management.core.exceptions.Fail: Execution of 'cp /usr/hdp/current/hive-metastore/lib/ojdbc.jar /usr/hdp/2.3.2.0-2943/hive/lib' returned 1. cp: '/usr/hdp/current/hive-metastore/lib/ojdbc.jar' and '/usr/hdp/2.3.2.0-2943/hive/lib/ojdbc.jar' are the same file
{code}
In order to get Hive Metastore to restart, before clicking *Retry* again, go onto the Hive Metastore host and move HDP version back to the original.
{code}
hdp-select set hive-metastore <original-hdp-version>
{code}
After performing the hdp-select, click *Retry* and proceed with the Rolling Upgrade.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py 796ec18 
  ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py a51f139 

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


Testing
-------

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


Thanks,

Jonathan Hurley


Re: Review Request 39403: Hive Metastore Upgrade Retry Fails Because Of Driver Copy Issue

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39403/#review102958
-----------------------------------------------------------

Ship it!


Ship It!

- Alejandro Fernandez


On Oct. 16, 2015, 6:11 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39403/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2015, 6:11 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jayush Luniya, and Nate Cole.
> 
> 
> Bugs: AMBARI-13459
>     https://issues.apache.org/jira/browse/AMBARI-13459
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> *Problem:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry*, Ambari cannot restart Hive Metastore. This situation can occur if Hive Metastore is using an external database (such as Oracle).
> *Solution:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry* in the Rolling Upgrade Wizard, Ambari cannot restart Hive Metastore and displays the following error in Ambari:
> {code}
> resource_management.core.exceptions.Fail: Execution of 'cp /usr/hdp/current/hive-metastore/lib/ojdbc.jar /usr/hdp/2.3.2.0-2943/hive/lib' returned 1. cp: '/usr/hdp/current/hive-metastore/lib/ojdbc.jar' and '/usr/hdp/2.3.2.0-2943/hive/lib/ojdbc.jar' are the same file
> {code}
> In order to get Hive Metastore to restart, before clicking *Retry* again, go onto the Hive Metastore host and move HDP version back to the original.
> {code}
> hdp-select set hive-metastore <original-hdp-version>
> {code}
> After performing the hdp-select, click *Retry* and proceed with the Rolling Upgrade.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py 796ec18 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py a51f139 
> 
> Diff: https://reviews.apache.org/r/39403/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Total run:806
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>


Re: Review Request 39403: Hive Metastore Upgrade Retry Fails Because Of Driver Copy Issue

Posted by Jayush Luniya <jl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39403/#review102968
-----------------------------------------------------------

Ship it!


Ship It!

- Jayush Luniya


On Oct. 16, 2015, 6:11 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39403/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2015, 6:11 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jayush Luniya, and Nate Cole.
> 
> 
> Bugs: AMBARI-13459
>     https://issues.apache.org/jira/browse/AMBARI-13459
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> *Problem:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry*, Ambari cannot restart Hive Metastore. This situation can occur if Hive Metastore is using an external database (such as Oracle).
> *Solution:* During Rolling Upgrade, if Hive Metastore fails to restart, even after clicking *Retry* in the Rolling Upgrade Wizard, Ambari cannot restart Hive Metastore and displays the following error in Ambari:
> {code}
> resource_management.core.exceptions.Fail: Execution of 'cp /usr/hdp/current/hive-metastore/lib/ojdbc.jar /usr/hdp/2.3.2.0-2943/hive/lib' returned 1. cp: '/usr/hdp/current/hive-metastore/lib/ojdbc.jar' and '/usr/hdp/2.3.2.0-2943/hive/lib/ojdbc.jar' are the same file
> {code}
> In order to get Hive Metastore to restart, before clicking *Retry* again, go onto the Hive Metastore host and move HDP version back to the original.
> {code}
> hdp-select set hive-metastore <original-hdp-version>
> {code}
> After performing the hdp-select, click *Retry* and proceed with the Rolling Upgrade.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py 796ec18 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py a51f139 
> 
> Diff: https://reviews.apache.org/r/39403/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Total run:806
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>