ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject ambari git commit: AMBARI-19016 - RegionServer Restart During Upgrade Fails Because of Missing Import When Formatting PID (jonathanhurley)
Date Tue, 29 Nov 2016 16:21:22 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 04c6b1223 -> 6f4055fa1


AMBARI-19016 - RegionServer Restart During Upgrade Fails Because of Missing Import When Formatting
PID (jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6f4055fa
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6f4055fa
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6f4055fa

Branch: refs/heads/branch-2.5
Commit: 6f4055fa11d956113d7d6b95db762e4806e5dd81
Parents: 04c6b12
Author: Jonathan Hurley <jhurley@hortonworks.com>
Authored: Tue Nov 29 08:40:58 2016 -0500
Committer: Jonathan Hurley <jhurley@hortonworks.com>
Committed: Tue Nov 29 11:21:11 2016 -0500

----------------------------------------------------------------------
 .../common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6f4055fa/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py
b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py
index afdc244..43c7ff4 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/upgrade.py
@@ -29,8 +29,10 @@ from resource_management.libraries.functions import conf_select, stack_select
 from resource_management.libraries.functions.constants import StackFeature
 from resource_management.libraries.functions.stack_features import check_stack_feature
 from resource_management.libraries.functions.decorator import retry
+from resource_management.libraries.functions.format import format
 from resource_management.libraries.functions import check_process_status
 
+
 def prestart(env, stack_component):
   import params
 
@@ -63,7 +65,6 @@ def is_regionserver_registered(cmd, user, hostname, regex_search_flags):
   Queries HBase through the HBase shell to see which servers have successfully registered.
This is
   useful in cases, such as upgrades, where we must ensure that a RegionServer has not only
started,
   but also completed it's registration handshake before moving into upgrading the next RegionServer.
-
   The hbase shell is used along with the "show 'simple'" command in order to determine if
the
   specified host has registered.
   :param cmd:


Mime
View raw message