ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 29483: Upgrading to Ambari 1.6.1 with external postgres DB breaks Hive metastore startup
Date Tue, 30 Dec 2014 18:35:56 GMT

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

Review request for Ambari and Andrew Onischuk.


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


Repository: ambari


Description
-------

PROBLEM:

When upgrading from 1.6.0 -> 1.6.1 and an external database is used for the Hive metastore,
Hive metastore fails to start because schematool fails.  The output is as follows:

{code}
 File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
239, in action_run
    raise ex
Fail: Execution of 'export HIVE_CONF_DIR=/etc/hive/conf.server ; /usr/lib/hive/bin/schematool
-initSchema -dbType postgresql -userName hive -passWord [PROTECTED]' returned 1. Unsupported
dbType postgresql
usage: schemaTool
{code}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java e18331f

  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java
cd68dc1 

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


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi


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