You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2016/07/14 16:26:00 UTC

ambari git commit: AMBARI-17697 - Hive Restart Failed During RU Due To Missing SQL JAR (part2) (jonathanhurley)

Repository: ambari
Updated Branches:
  refs/heads/trunk eeb6f4265 -> 0c29c334f


AMBARI-17697 - Hive Restart Failed During RU Due To Missing SQL JAR (part2) (jonathanhurley)


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

Branch: refs/heads/trunk
Commit: 0c29c334f0ad8dbf121f21b613a3b76ca4c9ed17
Parents: eeb6f42
Author: Jonathan Hurley <jh...@hortonworks.com>
Authored: Thu Jul 14 12:21:04 2016 -0400
Committer: Jonathan Hurley <jh...@hortonworks.com>
Committed: Thu Jul 14 12:25:53 2016 -0400

----------------------------------------------------------------------
 .../HIVE/0.12.0.2.0/package/scripts/params_linux.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0c29c334/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
index c7ed801..6bb2cbc 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
@@ -81,7 +81,7 @@ downgrade_from_version = default("/commandParams/downgrade_from_version", None)
 
 # determine which version to use for checking stack features; version is the most accurate but
 # may not always be available (especially on first install of the cluster)
-version_for_stack_feature_checks = version if not None else stack_version_unformatted
+version_for_stack_feature_checks = version if version is not None else stack_version_unformatted
 
 # Upgrade direction
 upgrade_direction = default("/commandParams/upgrade_direction", None)