You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/06/17 18:08:01 UTC

[jira] [Commented] (AMBARI-11972) Atlas and Kafka Start fail with non-root agent

    [ https://issues.apache.org/jira/browse/AMBARI-11972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589975#comment-14589975 ] 

Hudson commented on AMBARI-11972:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #63 (See [https://builds.apache.org/job/Ambari-branch-2.1/63/])
AMBARI-11972. Atlas and Kafka Start fail with non-root agent (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1d40e6394e760c4853e3d5e4b459bca672854b96)
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py
* ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
* ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/properties_config.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py
* ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/service_check.py
* ambari-common/src/main/python/resource_management/core/source.py
* ambari-server/src/test/python/stacks/2.3/ATLAS/test_metadata_server.py
* ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/kafka_broker.py
* ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/properties_config.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_atlas_hive.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py
* ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/kafka.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/atlas_plugin_utils.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py


> 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)