Repository: ambari Updated Branches: refs/heads/trunk da44fafcc -> a5c9225c2
AMBARI-8644. MR2 Service Check failed (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a5c9225c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a5c9225c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a5c9225c Branch: refs/heads/trunk Commit: a5c9225c2445884149c4c27aec041ebcc9fef4b4 Parents: da44faf Author: Andrew Onishuk <[email protected]> Authored: Wed Dec 10 20:11:57 2014 +0200 Committer: Andrew Onishuk <[email protected]> Committed: Wed Dec 10 20:11:57 2014 +0200 ---------------------------------------------------------------------- .../libraries/functions/dynamic_variable_interpretation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a5c9225c/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py b/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py index fb5ffb4..66df9ff 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py +++ b/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
