Repository: ambari Updated Branches: refs/heads/branch-2.5 3b4a7709d -> 25847627d refs/heads/trunk bed231b96 -> 1807a4aaa
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/trunk Commit: 1807a4aaa0f0cb9344fc0e624e4ced68e89a430f Parents: bed231b Author: Lisnichenko Dmitro <dlysniche...@hortonworks.com> Authored: Fri Nov 11 20:16:32 2016 +0200 Committer: Lisnichenko Dmitro <dlysniche...@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