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 A343D200C81 for ; Mon, 17 Apr 2017 22:17:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A237C160BBF; Mon, 17 Apr 2017 20:17:59 +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 C282A160BBC for ; Mon, 17 Apr 2017 22:17:58 +0200 (CEST) Received: (qmail 85064 invoked by uid 500); 17 Apr 2017 20:17:57 -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 83961 invoked by uid 99); 17 Apr 2017 20:17:57 -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, 17 Apr 2017 20:17:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 49B99F217E; Mon, 17 Apr 2017 20:17:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ncole@apache.org To: commits@ambari.apache.org Date: Mon, 17 Apr 2017 20:18:18 -0000 Message-Id: In-Reply-To: <4f6fbdf340894685baf3d6c420865507@git.apache.org> References: <4f6fbdf340894685baf3d6c420865507@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/34] ambari git commit: AMBARI-20682. Wait For DataNodes To Shutdown During a Rolling Upgrade. Fix (dlysnichenko) archived-at: Mon, 17 Apr 2017 20:17:59 -0000 AMBARI-20682. Wait For DataNodes To Shutdown During a Rolling Upgrade. Fix (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e9cf9dd1 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e9cf9dd1 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e9cf9dd1 Branch: refs/heads/branch-feature-AMBARI-12556 Commit: e9cf9dd17a7fcf170bb253a8d0b037910299b38c Parents: bf63795 Author: Lisnichenko Dmitro Authored: Fri Apr 14 11:35:20 2017 +0300 Committer: Lisnichenko Dmitro Committed: Fri Apr 14 11:35:20 2017 +0300 ---------------------------------------------------------------------- .../src/main/python/resource_management/libraries/script/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e9cf9dd1/ambari-common/src/main/python/resource_management/libraries/script/script.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/script/script.py b/ambari-common/src/main/python/resource_management/libraries/script/script.py index bad09d2..2c441ad 100644 --- a/ambari-common/src/main/python/resource_management/libraries/script/script.py +++ b/ambari-common/src/main/python/resource_management/libraries/script/script.py @@ -370,7 +370,7 @@ class Script(object): show_logs(log_folder, user, lines_count=COUNT_OF_LAST_LINES_OF_OUT_FILES_LOGGED, mask=OUT_FILES_MASK) - def post_start(self): + def post_start(self, env): pid_files = self.get_pid_files() if pid_files == []: Logger.logger.warning("Pid files for current script are not defined")