ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 19807: Hive metastore install fails on multinode cluster
Date Fri, 28 Mar 2014 21:58:59 GMT

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

(Updated March 28, 2014, 9:58 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


Thanks,

Dmytro Sen


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