You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/03/11 22:45:46 UTC
git commit: AMBARI-5041. Falcon does not support _HOST substitution
in principal names. (jaimin)
Repository: ambari
Updated Branches:
refs/heads/trunk a3728c4cb -> 6cd020086
AMBARI-5041. Falcon does not support _HOST substitution in principal names. (jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6cd02008
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6cd02008
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6cd02008
Branch: refs/heads/trunk
Commit: 6cd020086f24eac8c8503247956209c0c03e6b21
Parents: a3728c4
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Tue Mar 11 14:45:20 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Tue Mar 11 14:45:33 2014 -0700
----------------------------------------------------------------------
ambari-web/app/controllers/main/admin/security/add/step2.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/6cd02008/ambari-web/app/controllers/main/admin/security/add/step2.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security/add/step2.js b/ambari-web/app/controllers/main/admin/security/add/step2.js
index ee9d7e2..1c330fe 100644
--- a/ambari-web/app/controllers/main/admin/security/add/step2.js
+++ b/ambari-web/app/controllers/main/admin/security/add/step2.js
@@ -268,10 +268,12 @@ App.MainAdminSecurityAddStep2Controller = Em.Controller.extend({
}, this);
}
- // Oozie, webhcat and nagios does not support _HOST in the principal name. Actual hostname should be set instead of _HOST
+ // Oozie, Falcon, WebHcat and Nagios does not support _HOST in the principal name. Actual hostname should be set instead of _HOST
this.setHostToPrincipal(oozieService, 'oozie_servername','oozie_principal_name','oozie/');
this.setHostToPrincipal(oozieService, 'oozie_servername','oozie_http_principal_name','HTTP/');
+ this.setHostToPrincipal(falconService, 'falcon_server_host','falcon_principal_name','falcon/');
+ this.setHostToPrincipal(falconService, 'falcon_server_host','falcon_http_principal_name','HTTP/');
this.setHostToPrincipal(oozieService, 'webhcatserver_host','webHCat_http_principal_name','HTTP/');
this.setHostToPrincipal(oozieService, 'nagios_server','nagios_principal_name','nagios/');
},