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 8C380109A6 for ; Sat, 6 Jun 2015 16:12:51 +0000 (UTC) Received: (qmail 1588 invoked by uid 500); 6 Jun 2015 16:12:51 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 1547 invoked by uid 500); 6 Jun 2015 16:12:51 -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 1532 invoked by uid 99); 6 Jun 2015 16:12:51 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2015 16:12:51 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 67AE61C02B5; Sat, 6 Jun 2015 16:12:50 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6527373182273233688==" MIME-Version: 1.0 Subject: Review Request 35177: Flume start with configured flume agents, and flume status fail in non-root agent mode From: "Andrew Onischuk" To: "Myroslav Papirkovskyy" Cc: "Andrew Onischuk" , "Ambari" Date: Sat, 06 Jun 2015 16:12:50 -0000 Message-ID: <20150606161250.7996.9309@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/35177/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============6527373182273233688== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35177/ ----------------------------------------------------------- Review request for Ambari and Myroslav Papirkovskyy. Bugs: AMBARI-11759 https://issues.apache.org/jira/browse/AMBARI-11759 Repository: ambari Description ------- Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 127, in FlumeHandler().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute method(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 448, in restart self.start(env) 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/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 57, in start flume(action='start') 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/FLUME/1.4.0.2.0/package/scripts/flume.py", line 178, in flume try_sleep=10) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 157, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 260, in action_run raise ex resource_management.core.exceptions.Fail: Execution of 'pgrep -o -u flume -f ^/usr/jdk64/jdk1.8.0_40.*a3_group1.* > /var/run/flume/a3_group1.pid' returned 1. /bin/bash: /var/run/flume/a3_group1.pid: Permission denied Diffs ----- ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py 9d97662 ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py c7df0d8 ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py 4b2666b ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py 0d806bd Diff: https://reviews.apache.org/r/35177/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============6527373182273233688==--