ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 21323: Ambari installation should run the hive schema script for Oracle and Postgres as Metastore DB
Date Thu, 15 May 2014 17:23:44 GMT

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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On May 15, 2014, 5:21 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21323/
> -----------------------------------------------------------
> 
> (Updated May 15, 2014, 5:21 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Mahadev Konar, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-5734
>     https://issues.apache.org/jira/browse/AMBARI-5734
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hive-metastore package.jdo will create hive metastore schema if the schema does not exist.
However, the package does not detect the database flavor. Different database has different
synatx. In the case of Oracle, it causes problem such as ORA-01754: a table may contain only
one column of type LONG.
> The recommended way should be populate hive metastore in advance with scripts provided
in /usr/lib/hive/scripts/.... by schematool
> instead of using autoCreate.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
5ab1753 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 0e56eb0 
>   ambari-server/src/test/python/stacks/2.1/configs/default.json d80c28d 
>   ambari-server/src/test/python/stacks/2.1/configs/secured.json 68b04d0 
>   ambari-web/app/controllers/wizard/step8_controller.js 4aadcda 
> 
> Diff: https://reviews.apache.org/r/21323/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Main ....................................... SUCCESS [8.233s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.357s]
> [INFO] Ambari Web ........................................ SUCCESS [16.613s]
> [INFO] Ambari Views ...................................... SUCCESS [2.899s]
> [INFO] Ambari Server ..................................... SUCCESS [12:57.233s]
> [INFO] Ambari Agent ...................................... SUCCESS [11.556s]
> [INFO] Ambari Client ..................................... SUCCESS [1.478s]
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


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