소스 검색

AMBARI-8644. MR2 Service Check failed (aonishuk)

Andrew Onishuk 10 년 전
부모
커밋
a5c9225c24
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py

+ 1 - 1
ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py

@@ -151,7 +151,7 @@ def copy_tarballs_to_hdfs(tarball_prefix, component_user, file_owner, group_owne
     code, stdoutdata = shell.call(get_hdp_version_cmd)
     out = file.read()
   pass
-  if code != 0 or out is None or not out.startswith(params.hdp_stack_version):
+  if code != 0 or out is None:
     Logger.warning("Could not verify HDP version by calling '%s'. Return Code: %s, Output: %s." %
                    (get_hdp_version_cmd, str(code), str(out)))
     return 1