ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18999) Unable to Start Multiple Flume Agents Due to Missing Import
Date Mon, 28 Nov 2016 16:30:58 GMT

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

Jonathan Hurley updated AMBARI-18999:
-------------------------------------
    Attachment: AMBARI-18999.patch

> Unable to Start Multiple Flume Agents Due to Missing Import
> -----------------------------------------------------------
>
>                 Key: AMBARI-18999
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18999
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-18999.patch
>
>
> Note that this issue does not affect Ambari 2.5, only {{trunk}}. 
> When creating multiple flume agents on the same host, the following exception is thrown
because of a missing import for {{shell}}:
> {code}
> 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 130, in <module>
>     FlumeHandler().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 283, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 707, in restart
>     self.stop(env, upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 60, in stop
>     flume(action='stop')
>   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 228, in flume
>     pid = shell.checked_call(("cat", pid_file), sudo=True)[1].strip()
> NameError: global name 'shell' is not defined
> {code}



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

Mime
View raw message