-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31604/
-----------------------------------------------------------
Review request for Ambari, Myroslav Papirkovskyy and Vitalyi Brodetskyi.
Bugs: AMBARI-9867
https://issues.apache.org/jira/browse/AMBARI-9867
Repository: ambari
Description
-------
STR:
1)Deploy ambari with HIVE service (UMASK=027)
2) Try to start Metastore
ActualResult:
2015-02-28 18:23:49,525 - Error while executing command 'start':
Traceback (most recent call last):
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 208, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py",
line 54, in start
hive_service('metastore', action = 'start')
File
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py",
line 59, in hive_service
not_if=process_id_exists_command )
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 148, in __init__
self.env.run()
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 152, in run
self.run_action(resource, action)
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 118, in run_action
provider_action()
File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 276, in action_run
raise ex
Fail: Execution of 'env HADOOP_HOME=/usr/hdp/current/hadoop-client
JAVA_HOME=/usr/jdk64/jdk1.7.0_67
/var/lib/ambari-agent/data/tmp/start_metastore_script /var/log/hive/hive.out
/var/log/hive/hive.log /var/run/hive/hive.pid /etc/hive/conf.server
/var/log/hive' returned 126. env:
/var/lib/ambari-agent/data/tmp/start_metastore_script: Permission denied
Diffs
-----
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py
b729afd
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py
f30c19f
ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 7f5b803
Diff: https://reviews.apache.org/r/31604/diff/
Testing
-------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.372s]
[INFO] Ambari Server ..................................... SUCCESS [41.697s]
[INFO] Ambari Agent ...................................... SUCCESS [7.832s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.558s
[INFO] Finished at: Mon Mar 02 00:00:55 FET 2015
[INFO] Final Memory: 41M/400M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko