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

Ship it!


Ship It!

- Artem Baranchuk


On March 28, 2014, 10:16 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19807/
> -----------------------------------------------------------
> 
> (Updated March 28, 2014, 10:16 p.m.)
> 
> 
> Review request for Ambari, Artem Baranchuk, Dmitro Lisnichenko, and Jaimin 
> Jetly.
> 
> 
> Bugs: AMBARI-5267
>     https://issues.apache.org/jira/browse/AMBARI-5267
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hive Metastore install fails
> 
> Fail: Execution of 'export JAVA_HOME=/usr/jdk64/jdk1.7.0_45 ; 
> /usr/lib/hive/bin/schematool -dbType mysql -initSchema -userName hive 
> -passWord qwe' returned 5. /usr/lib/hadoop/bin/hadoop: line 133: 
> /usr/jdk64/jdk1.7.0_45/bin/java: No such file or directory
> /usr/lib/hadoop/bin/hadoop: line 133: exec: /usr/jdk64/jdk1.7.0_45/bin/java: 
> cannot execute: No such file or directory
> Unable to determine Hadoop version information.
> 'hadoop version' returned:
> /usr/lib/hadoop/bin/hadoop: line 133: /usr/jdk64/jdk1.7.0_45/bin/java: No 
> such file or directory
> /usr/lib/hadoop/bin/hadoop: line 133: exec: /usr/jdk64/jdk1.7.0_45/bin/java: 
> cannot execute: No such file or directory
> 
> Solution:
> schematool is run as a part of metastore start command, but not install.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
>  8dd2745 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_metastore.py
>  cd250ce 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py
>  664b676 
>   ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json 
> f6b499a 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 
> PRE-CREATION 
>   ambari-server/src/test/python/stacks/2.1/configs/default.json 26d1a82 
>   ambari-server/src/test/python/stacks/2.1/configs/secured.json 3dd6775 
> 
> Diff: https://reviews.apache.org/r/19807/diff/
> 
> 
> Testing
> -------
> 
> Added unit tests. All tests passed
> 
> OK
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Main ....................................... SUCCESS [0.468s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.178s]
> [INFO] Ambari Web ........................................ SUCCESS [16.391s]
> [INFO] Ambari Views ...................................... SUCCESS [2.969s]
> [INFO] Ambari Server ..................................... SUCCESS 
> [13:34.010s]
> [INFO] Ambari Agent ...................................... SUCCESS [14.453s]
> [INFO] Ambari Client ..................................... SUCCESS [0.752s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 14:12.644s
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>

Reply via email to