Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 518FA180A8 for ; Wed, 17 Jun 2015 16:08:01 +0000 (UTC) Received: (qmail 47925 invoked by uid 500); 17 Jun 2015 16:08:01 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 47895 invoked by uid 500); 17 Jun 2015 16:08:01 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 47881 invoked by uid 99); 17 Jun 2015 16:08:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2015 16:08:01 +0000 Date: Wed, 17 Jun 2015 16:08:01 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11972) Atlas and Kafka Start fail with non-root agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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)