You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2017/10/14 03:43:00 UTC
[jira] [Assigned] (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 ]
Siddharth Wagle reassigned AMBARI-22237:
----------------------------------------
Assignee: Siddharth Wagle
> 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
> Assignee: Siddharth Wagle
> Attachments: AMBARI-22237.patch, 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 [^errors.txt]:
> {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}
> While when we stop [^supervisor-stop.txt] and start [^supervisor-stop.txt] the supervisor we do not get any error and it works fine. Only restart is the issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)