Dmitry Lysnichenko created AMBARI-9867:
------------------------------------------
Summary: Permission denied on ubuntu server with UMASK=027
Key: AMBARI-9867
URL: https://issues.apache.org/jira/browse/AMBARI-9867
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.0.0
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Fix For: 2.0.0
STR:
1)Deploy ambari with HIVE service (*UMASK=027*)
2) Try to start Metastore
ActualResult:
{code}
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
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|