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 2013/09/24 16:33:33 UTC
git commit: AMBARI-3323. YARN summary shows 'View Host' for multiple
NodeManagers. (ababiichuk)
Updated Branches:
refs/heads/branch-1.4.1 ec06017ba -> 90689f834
AMBARI-3323. YARN summary shows 'View Host' for multiple NodeManagers. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/90689f83
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/90689f83
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/90689f83
Branch: refs/heads/branch-1.4.1
Commit: 90689f8347199786e3f68c2485083e9f76bdc59b
Parents: ec06017
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Sep 24 17:33:20 2013 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Sep 24 17:33:20 2013 +0300
----------------------------------------------------------------------
ambari-web/app/views/main/dashboard/service/yarn.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/90689f83/ambari-web/app/views/main/dashboard/service/yarn.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/service/yarn.js b/ambari-web/app/views/main/dashboard/service/yarn.js
index bf3e10f..b641aec 100644
--- a/ambari-web/app/views/main/dashboard/service/yarn.js
+++ b/ambari-web/app/views/main/dashboard/service/yarn.js
@@ -71,7 +71,7 @@ App.MainDashboardServiceYARNView = App.MainDashboardServiceView.extend({
}.property('service.nodeManagerNodes', 'service.nodeManagerLiveNodes'),
nodeManagerText: function () {
- if(this.get("service.nodeManagerNodes") > 1){
+ if(this.get("service.nodeManagerNodes.length") > 1){
return Em.I18n.t('services.service.summary.viewHosts');
}else{
return Em.I18n.t('services.service.summary.viewHost');