You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Arpit Khare (JIRA)" <ji...@apache.org> on 2017/10/13 18:29:00 UTC

[jira] [Issue Comment Deleted] (AMBARI-22237) Restarting Storm Supervisor from Ambari always fails while Stop and Start works fine.

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

Arpit Khare updated AMBARI-22237:
---------------------------------
    Comment: was deleted

(was: Error in Ambari Dashboard)

> Restarting Storm Supervisor from Ambari always fails while Stop and Start works fine.
> -------------------------------------------------------------------------------------
>
>                 Key: AMBARI-22237
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22237
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>         Environment: CentOS-6 (64 Bit)
>            Reporter: Arpit Khare
>         Attachments: errors.txt, supervisor-start.txt, supervisor-stop.txt
>
>
> We have Storm configured for supervision. When we restart Storm Supervisor from Ambari it always fails with the following stderr:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor_prod.py", line 84, in <module>
>     Supervisor().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 751, in restart
>     self.status(env)
>   File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor_prod.py", line 73, in status
>     supervisord_check_status("supervisor")
>   File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisord_service.py", line 33, in supervisord_check_status
>     except Fail:
> NameError: global name 'Fail' is not defined
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)