You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2015/03/09 16:01:54 UTC

ambari git commit: AMBARI-9982. Oozie connection refused: unable to initialize service, Cannot get password from user. (rlevas)

Repository: ambari
Updated Branches:
  refs/heads/trunk e671f631b -> 671146ee5


AMBARI-9982. Oozie connection refused: unable to initialize service, Cannot get password from user. (rlevas)


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

Branch: refs/heads/trunk
Commit: 671146ee51dc78a7486e998dc747a75b1db2193b
Parents: e671f63
Author: Robert Levas <rl...@hortonworks.com>
Authored: Mon Mar 9 11:01:43 2015 -0400
Committer: Robert Levas <rl...@hortonworks.com>
Committed: Mon Mar 9 11:01:43 2015 -0400

----------------------------------------------------------------------
 .../common-services/OOZIE/4.0.0.2.0/package/scripts/params.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/671146ee/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
index 27af3d6..c4a7596 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params.py
@@ -121,7 +121,7 @@ oozie_service_keytab = config['configurations']['oozie-site']['oozie.service.Had
 oozie_principal = config['configurations']['oozie-site']['oozie.service.HadoopAccessorService.kerberos.principal']
 http_principal = config['configurations']['oozie-site']['oozie.authentication.kerberos.principal']
 oozie_site = config['configurations']['oozie-site']
-if security_enabled:
+if security_enabled and hdp_stack_version != "" and compare_versions(hdp_stack_version, '2.2') < 0:
   #older versions of oozie have problems when using _HOST in principal
   oozie_site = dict(config['configurations']['oozie-site'])
   oozie_site['oozie.service.HadoopAccessorService.kerberos.principal'] = \