Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D5085200D21 for ; Mon, 16 Oct 2017 22:23:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3AD11609E3; Mon, 16 Oct 2017 20:23:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E8D7D160BF0 for ; Mon, 16 Oct 2017 22:23:56 +0200 (CEST) Received: (qmail 99860 invoked by uid 500); 16 Oct 2017 20:23:55 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 99561 invoked by uid 99); 16 Oct 2017 20:23:55 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2017 20:23:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1E590DFF66; Mon, 16 Oct 2017 20:23:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rlevas@apache.org To: commits@ambari.apache.org Date: Mon, 16 Oct 2017 20:23:54 -0000 Message-Id: In-Reply-To: <563c926ac3a64912afcc8be70fcb40c7@git.apache.org> References: <563c926ac3a64912afcc8be70fcb40c7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/15] ambari git commit: AMBARI-22237. Restarting Storm Supervisor from Ambari always fails while Stop and Start works fine. (Arpit Khare, swagle via swagle) archived-at: Mon, 16 Oct 2017 20:23:58 -0000 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/6e1cac85 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6e1cac85 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6e1cac85 Branch: refs/heads/branch-feature-AMBARI-20859 Commit: 6e1cac85e33132c93fd843e402e3702ee584b947 Parents: c8c1812 Author: Siddharth Wagle Authored: Fri Oct 13 20:55:22 2017 -0700 Committer: Siddharth Wagle Committed: Fri Oct 13 20:55:22 2017 -0700 ---------------------------------------------------------------------- .../STORM/0.9.1/package/scripts/supervisord_service.py | 1 + .../STORM/1.0.1.3.0/package/scripts/supervisord_service.py | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6e1cac85/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}"), http://git-wip-us.apache.org/repos/asf/ambari/blob/6e1cac85/ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/package/scripts/supervisord_service.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/package/scripts/supervisord_service.py b/ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/package/scripts/supervisord_service.py index 6ff9f9c..498db15 100644 --- a/ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/package/scripts/supervisord_service.py +++ b/ambari-server/src/main/resources/common-services/STORM/1.0.1.3.0/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}"),