You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2014/04/25 01:36:39 UTC
git commit: AMBARI-5568. Security wizard freezes on the last step.
(jaimin via srimanth)
Repository: ambari
Updated Branches:
refs/heads/trunk 1830dcf6d -> ed6aaaf73
AMBARI-5568. Security wizard freezes on the last step. (jaimin via srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ed6aaaf7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ed6aaaf7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ed6aaaf7
Branch: refs/heads/trunk
Commit: ed6aaaf73e349b9dadc6a0047d862e82ee3491d0
Parents: 1830dcf
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Thu Apr 24 16:36:17 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Thu Apr 24 16:36:17 2014 -0700
----------------------------------------------------------------------
.../app/controllers/main/admin/security/add/step4.js | 13 +++++++++++++
1 file changed, 13 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/ed6aaaf7/ambari-web/app/controllers/main/admin/security/add/step4.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security/add/step4.js b/ambari-web/app/controllers/main/admin/security/add/step4.js
index 7f54332..b94f441 100644
--- a/ambari-web/app/controllers/main/admin/security/add/step4.js
+++ b/ambari-web/app/controllers/main/admin/security/add/step4.js
@@ -382,6 +382,19 @@ App.MainAdminSecurityAddStep4Controller = App.MainAdminSecurityProgressControlle
return true;
},
+ deleteComponents: function(componentName, hostName) {
+ App.ajax.send({
+ name: 'admin.delete_component',
+ sender: this,
+ data: {
+ componentName: componentName,
+ hostName: hostName
+ },
+ success: 'onDeleteComplete',
+ error: 'onDeleteError'
+ });
+ },
+
onDeleteComplete: function () {
var deleteAtsCommand = this.get('commands').findProperty('name', 'DELETE_ATS');
console.warn('APP_TIMELINE_SERVER doesn\'t support security mode. It has been removed from YARN service ');