You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2017/02/24 14:19:15 UTC
[08/50] ambari git commit: AMBARI-20057. "NodeManagers Status" value
is empty in Yarn Summary page (alexantonenko)
AMBARI-20057. "NodeManagers Status" value is empty in Yarn Summary page (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bc4b8bce
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bc4b8bce
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bc4b8bce
Branch: refs/heads/branch-feature-AMBARI-12556
Commit: bc4b8bcedb8f4de66c7e7ccf148653fcc53417f7
Parents: d5cbe19
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Feb 22 04:33:34 2017 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Feb 22 04:33:34 2017 +0200
----------------------------------------------------------------------
ambari-web/app/messages.js | 1 +
ambari-web/app/views/main/service/services/yarn.js | 1 +
2 files changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/bc4b8bce/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 44bf13e..a06ff27 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -2937,6 +2937,7 @@ Em.I18n.translations = {
'dashboard.services.yarn.resourceManager.standby':'Standby ResourceManager',
'dashboard.services.resourceManager.nodes.heap':'ResourceManager Heap',
'dashboard.services.yarn.nodeManagers.status': 'NodeManagers Status',
+ 'dashboard.services.yarn.nodeManagers.status.msg': '{0} active / {1} lost / {2} unhealthy / {3} rebooted / {4} decommissioned',
'dashboard.services.yarn.nodeManagers.status.active': 'active',
'dashboard.services.yarn.nodeManagers.status.lost': 'lost',
'dashboard.services.yarn.nodeManagers.status.unhealthy': 'unhealthy',
http://git-wip-us.apache.org/repos/asf/ambari/blob/bc4b8bce/ambari-web/app/views/main/service/services/yarn.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/services/yarn.js b/ambari-web/app/views/main/service/services/yarn.js
index 84ba520..11edd22 100644
--- a/ambari-web/app/views/main/service/services/yarn.js
+++ b/ambari-web/app/views/main/service/services/yarn.js
@@ -55,6 +55,7 @@ App.MainDashboardServiceYARNView = App.MainDashboardServiceView.extend({
_nmUnhealthy: Em.computed.formatUnavailable('service.nodeManagersCountUnhealthy'),
_nmRebooted: Em.computed.formatUnavailable('service.nodeManagersCountRebooted'),
_nmDecom: Em.computed.formatUnavailable('service.nodeManagersCountDecommissioned'),
+ nodeManagersStatus: Em.computed.i18nFormat('dashboard.services.yarn.nodeManagers.status.msg', '_nmActive', '_nmLost', '_nmUnhealthy', '_nmRebooted', '_nmDecom'),
_allocated: Em.computed.formatUnavailable('service.containersAllocated'),
_pending: Em.computed.formatUnavailable('service.containersPending'),