Repository: ambari Updated Branches: refs/heads/branch-2.6 c65c0c3ec -> f4c7b61f3
AMBARI-22237. Restarting Storm Supervisor from Ambari always fails while Stop and Start works fine. (Arpit Khare, swagle via swagle) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8ba409b3 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8ba409b3 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8ba409b3 Branch: refs/heads/branch-2.6 Commit: 8ba409b3fd8719e7ec694582c5c04cbce863ee25 Parents: c65c0c3 Author: Siddharth Wagle <[email protected]> Authored: Fri Oct 13 20:52:10 2017 -0700 Committer: Siddharth Wagle <[email protected]> Committed: Fri Oct 13 20:52:10 2017 -0700 ---------------------------------------------------------------------- .../STORM/0.9.1/package/scripts/supervisord_service.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8ba409b3/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py index 6ff9f9c..498db15 100644 --- a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py +++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/supervisord_service.py @@ -20,6 +20,7 @@ limitations under the License. from resource_management.core.resources.system import Execute from resource_management.libraries.functions.format import format +from resource_management.core.exceptions import Fail def supervisord_service(component_name, action): Execute(format("supervisorctl {action} storm-{component_name}"),
