You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/05/08 12:37:46 UTC
[ambari] branch trunk updated: AMBARI-23789 Regenerate keytabs on
single host should be an experimental feature. (ababiichuk)
This is an automated email from the ASF dual-hosted git repository.
ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new e54a87a AMBARI-23789 Regenerate keytabs on single host should be an experimental feature. (ababiichuk)
e54a87a is described below
commit e54a87a65d0cf62a5535f13cab8c8ec3b9beb599
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Tue May 8 14:23:40 2018 +0300
AMBARI-23789 Regenerate keytabs on single host should be an experimental feature. (ababiichuk)
---
ambari-web/app/config.js | 3 ++-
ambari-web/app/views/main/host/details.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ambari-web/app/config.js b/ambari-web/app/config.js
index 8dbbde3..c5bf5f0 100644
--- a/ambari-web/app/config.js
+++ b/ambari-web/app/config.js
@@ -89,7 +89,8 @@ App.supports = {
enabledWizardForHostOrderedUpgrade: true,
manageJournalNode: true,
enableToggleKerberos: true,
- enableAddDeleteServices: true
+ enableAddDeleteServices: true,
+ regenerateKeytabsOnSingleHost: false
};
if (App.enableExperimental) {
diff --git a/ambari-web/app/views/main/host/details.js b/ambari-web/app/views/main/host/details.js
index 2cf4f42..610360a 100644
--- a/ambari-web/app/views/main/host/details.js
+++ b/ambari-web/app/views/main/host/details.js
@@ -80,7 +80,7 @@ App.MainHostDetailsView = Em.View.extend({
label: this.t('passiveState.turn' + onOff)
});
}
- if (App.get('isKerberosEnabled')){
+ if (App.get('isKerberosEnabled') && App.get('supports.regenerateKeytabsOnSingleHost')){
var actionMap = App.HostComponentActionMap.getMap(this);
result.push(actionMap.REGENERATE_KEYTAB_FILE_OPERATIONS);
}
--
To stop receiving notification emails like this one, please contact
ababiichuk@apache.org.