ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-22237) Restarting Storm Supervisor from Ambari always fails while Stop and Start works fine
Date Sat, 14 Oct 2017 04:35:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-22237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204477#comment-16204477
] 

Hudson commented on AMBARI-22237:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8271 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8271/])
AMBARI-22237. Restarting Storm Supervisor from Ambari always fails while (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6e1cac85e33132c93fd843e402e3702ee584b947])
* (edit) ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py
* (edit) ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/package/scripts/supervisord_service.py


> 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)

Mime
View raw message