Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2808E17DDC for ; Wed, 4 Mar 2015 17:57:50 +0000 (UTC) Received: (qmail 45299 invoked by uid 500); 4 Mar 2015 17:57:47 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 45270 invoked by uid 500); 4 Mar 2015 17:57:47 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 45260 invoked by uid 99); 4 Mar 2015 17:57:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 17:57:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E6BCAE0833; Wed, 4 Mar 2015 17:57:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ababiichuk@apache.org To: commits@ambari.apache.org Message-Id: <6d4803deea024e1181dddf634aa31e27@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-9929 Move Master wizard: Hide the message to create keytab manually for the moved hostcomponent. (ababiichuk) Date: Wed, 4 Mar 2015 17:57:46 +0000 (UTC) Repository: ambari Updated Branches: refs/heads/branch-2.0.0 114c9adca -> 3c30bc73e AMBARI-9929 Move Master wizard: Hide the message to create keytab manually for the moved hostcomponent. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3c30bc73 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3c30bc73 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3c30bc73 Branch: refs/heads/branch-2.0.0 Commit: 3c30bc73e5c973908bff57f092f1d41fb8c448cc Parents: 114c9ad Author: aBabiichuk Authored: Tue Mar 3 15:08:54 2015 +0200 Committer: aBabiichuk Committed: Wed Mar 4 19:57:38 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/reassign_controller.js | 4 ++-- ambari-web/app/templates/main/service/reassign/step5.hbs | 6 +++--- ambari-web/app/views/main/service/reassign/step5_view.js | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/3c30bc73/ambari-web/app/controllers/main/service/reassign_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/service/reassign_controller.js b/ambari-web/app/controllers/main/service/reassign_controller.js index 2793491..b234143 100644 --- a/ambari-web/app/controllers/main/service/reassign_controller.js +++ b/ambari-web/app/controllers/main/service/reassign_controller.js @@ -82,8 +82,8 @@ App.ReassignMasterController = App.WizardController.extend({ ], addManualSteps: function () { - this.set('content.hasManualSteps', this.get('content.componentsWithManualCommands').contains(this.get('content.reassign.component_name')) || this.get('content.securityEnabled')); - }.observes('content.reassign.component_name', 'content.securityEnabled'), + this.set('content.hasManualSteps', this.get('content.componentsWithManualCommands').contains(this.get('content.reassign.component_name'))); + }.observes('content.reassign.component_name'), addCheckDBStep: function () { this.set('content.hasCheckDBStep', this.get('content.componentsWithCheckDBStep').contains(this.get('content.reassign.component_name'))); http://git-wip-us.apache.org/repos/asf/ambari/blob/3c30bc73/ambari-web/app/templates/main/service/reassign/step5.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/main/service/reassign/step5.hbs b/ambari-web/app/templates/main/service/reassign/step5.hbs index 88cf862..aee9c5b 100644 --- a/ambari-web/app/templates/main/service/reassign/step5.hbs +++ b/ambari-web/app/templates/main/service/reassign/step5.hbs @@ -17,9 +17,9 @@ }}

{{t services.reassign.step5.header}}

{{{view.manualCommands}}} -{{#if view.securityNotice}} - {{{view.securityNotice}}} -{{/if}} +{{!#if view.securityNotice}} + {{!{view.securityNotice}} +{{!/if}} http://git-wip-us.apache.org/repos/asf/ambari/blob/3c30bc73/ambari-web/app/views/main/service/reassign/step5_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/main/service/reassign/step5_view.js b/ambari-web/app/views/main/service/reassign/step5_view.js index fb59bbe..b08df7b 100644 --- a/ambari-web/app/views/main/service/reassign/step5_view.js +++ b/ambari-web/app/views/main/service/reassign/step5_view.js @@ -46,6 +46,9 @@ App.ReassignMasterWizardStep5View = Em.View.extend({ return Em.I18n.t('services.reassign.step5.body.' + this.get('controller.content.reassign.component_name').toLowerCase() + ha).format(componentDir, sourceHost, targetHost, user, nnStartedHost,this.get('controller.content.group'), componentDirCmd); }.property('controller.content.reassign.component_name', 'controller.content.componentDir', 'controller.content.masterComponentHosts', 'controller.content.reassign.host_id', 'controller.content.hdfsUser'), + /** + * security notice to generate keytab manually is not used any more + */ securityNotice: function () { var secureConfigs = this.get('controller.content.secureConfigs'); var proceedMsg = Em.I18n.t('services.reassign.step5.body.proceedMsg');