Repository: ambari
Updated Branches:
  refs/heads/trunk a4550d12d -> 27f763450


AMBARI-9628 - Ranger rolling upgrade issue (Velmurugan Periasamy via 
jonathanhurley)


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

Branch: refs/heads/trunk
Commit: 27f763450f8f3c972940cbd599723c300ad9763f
Parents: a4550d1
Author: Jonathan Hurley <jhur...@hortonworks.com>
Authored: Fri Feb 13 12:03:02 2015 -0500
Committer: Jonathan Hurley <jhur...@hortonworks.com>
Committed: Fri Feb 13 12:03:02 2015 -0500

----------------------------------------------------------------------
 .../common-services/RANGER/0.4.0/package/scripts/upgrade.py        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/27f76345/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/upgrade.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/upgrade.py
 
b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/upgrade.py
index 62abe8c..53ced96 100644
--- 
a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/upgrade.py
+++ 
b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/upgrade.py
@@ -26,4 +26,4 @@ def prestart(env, hdp_component):
   import params
 
   if params.version and 
compare_versions(format_hdp_stack_version(params.version), '2.2.0.0') >= 0:
-    Execute("hdp-select set {0} {1}".format(hdp_component, version))
\ No newline at end of file
+    Execute("hdp-select set {0} {1}".format(hdp_component, params.version))
\ No newline at end of file

Reply via email to