ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-20057. "NodeManagers Status" value is empty in Yarn Summary page (alexantonenko)
Date Wed, 22 Feb 2017 03:27:54 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 fe86fc3ed -> 1e8f7c6ff


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/1e8f7c6f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1e8f7c6f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1e8f7c6f

Branch: refs/heads/branch-2.5
Commit: 1e8f7c6ffe52d41b1f2fcd9f71f7029586d1e3c5
Parents: fe86fc3
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Wed Feb 22 04:33:34 2017 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Wed Feb 22 05:27:37 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/1e8f7c6f/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 0cd41e0..33195e0 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -2897,6 +2897,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/1e8f7c6f/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'),


Mime
View raw message