ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [36/50] [abbrv] ambari git commit: AMBARI-18864. HDP 2.5 HDFS HA Cluster Installed From Blueprint Has ZKFC in UNKNOWN State (dlysnichenko)
Date Mon, 14 Nov 2016 18:27:49 GMT
AMBARI-18864. HDP 2.5 HDFS HA Cluster Installed From Blueprint Has ZKFC in UNKNOWN State (dlysnichenko)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 1807a4aaa0f0cb9344fc0e624e4ced68e89a430f
Parents: bed231b
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Fri Nov 11 20:16:32 2016 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Fri Nov 11 20:16:32 2016 +0200

----------------------------------------------------------------------
 .../common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1807a4aa/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
index ddd1766..f1891a5 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
@@ -43,7 +43,8 @@ from resource_management.libraries.functions.version_select_util import
get_comp
 class ZkfcSlave(Script):
   def get_component_name(self):
     import params
-    if params.version and check_stack_feature(StackFeature.ZKFC_VERSION_ADVERTISED, params.version):
+    if params.version_for_stack_feature_checks and check_stack_feature(StackFeature.ZKFC_VERSION_ADVERTISED,
params.version_for_stack_feature_checks):
+      # params.version is not defined when installing cluster from blueprint
       return "hadoop-hdfs-zkfc"
     pass
 


Mime
View raw message