ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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)


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

 .../common-services/HBASE/   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ambari-server/src/main/resources/common-services/HBASE/
index afdc244..43c7ff4 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/
+++ b/ambari-server/src/main/resources/common-services/HBASE/
@@ -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
   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
   specified host has registered.
   :param cmd:

View raw message