Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 64FCA200C16 for ; Thu, 9 Feb 2017 14:20:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 63913160B50; Thu, 9 Feb 2017 13:20:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AC34B160B4C for ; Thu, 9 Feb 2017 14:20:47 +0100 (CET) Received: (qmail 38256 invoked by uid 500); 9 Feb 2017 13:20:46 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 38247 invoked by uid 99); 9 Feb 2017 13:20:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2017 13:20:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E9E8B182123 for ; Thu, 9 Feb 2017 13:20:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QVTOIL2HIiQN for ; Thu, 9 Feb 2017 13:20:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DDC1A5F470 for ; Thu, 9 Feb 2017 13:20:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2684FE031F for ; Thu, 9 Feb 2017 13:20:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D590C21D64 for ; Thu, 9 Feb 2017 13:20:41 +0000 (UTC) Date: Thu, 9 Feb 2017 13:20:41 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-19941) Hive start fails in non-root if agent previously ran as root MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Feb 2017 13:20:48 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk updated AMBARI-19941: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk and branch-2.5 > Hive start fails in non-root if agent previously ran as root > ------------------------------------------------------------ > > Key: AMBARI-19941 > URL: https://issues.apache.org/jira/browse/AMBARI-19941 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.5.0 > > Attachments: AMBARI-19941.patch > > > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", line 68, in > HiveClient().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", line 35, in install > self.configure(env) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 116, in locking_configure > original_configure(obj, *args, **kw) > File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_client.py", line 43, in configure > hive(name='client') > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", line 297, in hive > mode = 0644, > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create > content = self._get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content > return content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 51, in __call__ > return self.get_content() > File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 205, in get_content > with open(filepath) as fp: > IOError: [Errno 13] Permission denied: '/var/lib/ambari-agent/tmp/DBConnectionVerification.jar' > -- This message was sent by Atlassian JIRA (v6.3.15#6346)