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

[jira] [Resolved] (AMBARI-11759) Flume start with configured flume agents, and flume status fail in non-root agent mode

     [ https://issues.apache.org/jira/browse/AMBARI-11759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-11759.
--------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.1

> Flume start with configured flume agents, and flume status fail in non-root agent mode
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11759
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11759
>             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/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 127, in <module>
>         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
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)