[
https://issues.apache.org/jira/browse/AMBARI-9867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342517#comment-14342517
]
Hudson commented on AMBARI-9867:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1914 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1914/])
AMBARI-9867. Permission denied on ubuntu server with UMASK=027 (dlysnichenko)
(dlysnichenko:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=dae0dadca97c5eb0ac47cec786f631a434ec0386)
*
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py
*
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py
* ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py
> 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
>
> Attachments: AMBARI-9867.patch
>
>
> 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)