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 c4b8db5 AMBARI-24020 Remove HDFS Disk Usage widget from host summary page. (ababiichuk) c4b8db5 is described below commit c4b8db50c54581fe93fb089f1e62990cfc5435c8 Author: ababiichuk <ababiic...@hortonworks.com> AuthorDate: Mon Jun 4 14:45:11 2018 +0300 AMBARI-24020 Remove HDFS Disk Usage widget from host summary page. (ababiichuk) --- ambari-web/app/templates/main/host/summary.hbs | 4 ++-- ambari-web/app/views/main/host/summary.js | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ambari-web/app/templates/main/host/summary.hbs b/ambari-web/app/templates/main/host/summary.hbs index 2169331..a76a556 100644 --- a/ambari-web/app/templates/main/host/summary.hbs +++ b/ambari-web/app/templates/main/host/summary.hbs @@ -153,9 +153,9 @@ {{/if}} {{#if view.hasNameNode}} <div class="namenode-metrics dashboard-widgets"> - <h5 class="text-uppercase"> + <h5> {{#if App.isHaEnabled}} - {{t dashboard.widgets.nameSpace}}{{#if view.nameNodeComponent.haNameSpace}}: {{view.nameNodeComponent.haNameSpace}}{{/if}} + <span class="text-uppercase">{{t dashboard.widgets.nameSpace}}</span>{{#if view.nameNodeComponent.haNameSpace}}: {{view.nameNodeComponent.haNameSpace}}{{/if}} {{/if}} </h5> <div class="thumbnails"> diff --git a/ambari-web/app/views/main/host/summary.js b/ambari-web/app/views/main/host/summary.js index ed7a25a..b49b997 100644 --- a/ambari-web/app/views/main/host/summary.js +++ b/ambari-web/app/views/main/host/summary.js @@ -80,16 +80,6 @@ App.MainHostSummaryView = Em.View.extend(App.TimeRangeMixin, { threshold: widgetsDefinitions.NameNodeHeapPieChartView.threshold, } }), - App.NameNodeCapacityPieChartView.extend({ - model, - hostName, - widgetHtmlId: 'nn-capacity', - title: Em.I18n.t('dashboard.widgets.HDFSDiskUsage'), - showActions: false, - widget: { - threshold: widgetsDefinitions.NameNodeCapacityPieChartView.threshold - } - }), App.NameNodeCpuPieChartView.extend({ widgetHtmlId: 'nn-cpu', title: Em.I18n.t('dashboard.widgets.NameNodeCpu'), -- To stop receiving notification emails like this one, please contact ababiic...@apache.org.