You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/04/17 20:18:18 UTC

[24/34] ambari git commit: AMBARI-20682. Wait For DataNodes To Shutdown During a Rolling Upgrade. Fix (dlysnichenko)

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 <dl...@hortonworks.com>
Authored: Fri Apr 14 11:35:20 2017 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
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")