You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/06/17 14:38:00 UTC
[jira] [Created] (AMBARI-11972) Atlas and Kafka Start fail with
non-root agent
Andrew Onischuk created AMBARI-11972:
----------------------------------------
Summary: Atlas and Kafka Start fail with non-root agent
Key: AMBARI-11972
URL: https://issues.apache.org/jira/browse/AMBARI-11972
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.1.0
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 127, in <module>
MetadataServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 47, in start
self.configure(env)
File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata_server.py", line 37, in configure
metadata()
File "/var/lib/ambari-agent/cache/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py", line 75, in metadata
shutil.copy2(metadata_war_file, params.expanded_war_dir)
File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
copyfile(src, dst)
File "/usr/lib64/python2.6/shutil.py", line 51, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/var/lib/atlas/server/webapp/metadata.war'
Also a couple of more issues with using directly "with open".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)