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 3B21518A1A for ; Thu, 23 Apr 2015 10:51:41 +0000 (UTC) Received: (qmail 61482 invoked by uid 500); 23 Apr 2015 10:51:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 61427 invoked by uid 500); 23 Apr 2015 10:51:40 -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 61266 invoked by uid 99); 23 Apr 2015 10:51:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 10:51:40 +0000 Date: Thu, 23 Apr 2015 10:51:40 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-10690) Hbase Ranger plugin fails to install with non-root agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Onischuk created AMBARI-10690: ---------------------------------------- Summary: Hbase Ranger plugin fails to install with non-root agent Key: AMBARI-10690 URL: https://issues.apache.org/jira/browse/AMBARI-10690 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/HBASE/0.96.0.2.0/package/scripts/hbase_master.py", line 148, in HbaseMaster().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute method(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 377, in restart self.start(env) File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py", line 83, in start setup_ranger_hbase() File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py", line 67, in setup_ranger_hbase write_properties_to_file(file_path, ranger_hbase_dict) File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py", line 101, in write_properties_to_file modify_config(file_path, key, value[key]) File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py", line 112, in modify_config for line in fileinput.input(filepath, inplace = 1): File "/usr/lib64/python2.6/fileinput.py", line 253, in next line = self.readline() File "/usr/lib64/python2.6/fileinput.py", line 322, in readline os.rename(self._filename, self._backupfilename) OSError: [Errno 13] Permission denied -- This message was sent by Atlassian JIRA (v6.3.4#6332)