You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2015/09/28 20:31:13 UTC
ambari git commit: AMBARI-13262 NFSGateway reports wrong count after
manual stack upgrade. (atkach)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 3eecb3f67 -> 4aef14e5c
AMBARI-13262 NFSGateway reports wrong count after manual stack upgrade. (atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4aef14e5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4aef14e5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4aef14e5
Branch: refs/heads/branch-2.1
Commit: 4aef14e5c72da2e68ce3198f94dda441d0a34b2d
Parents: 3eecb3f
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Mon Sep 28 21:31:05 2015 +0300
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Mon Sep 28 21:31:05 2015 +0300
----------------------------------------------------------------------
ambari-web/app/models/service/hdfs.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/4aef14e5/ambari-web/app/models/service/hdfs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service/hdfs.js b/ambari-web/app/models/service/hdfs.js
index dbeefe8..cacbd65 100644
--- a/ambari-web/app/models/service/hdfs.js
+++ b/ambari-web/app/models/service/hdfs.js
@@ -30,9 +30,9 @@ App.HDFSService = App.Service.extend({
dataNodesStarted: DS.attr('number'),
dataNodesInstalled: DS.attr('number'),
dataNodesTotal: DS.attr('number'),
- nfsGatewaysStarted: DS.attr('number'),
- nfsGatewaysInstalled: DS.attr('number'),
- nfsGatewaysTotal: DS.attr('number'),
+ nfsGatewaysStarted: DS.attr('number', {defaultValue: 0}),
+ nfsGatewaysInstalled: DS.attr('number', {defaultValue: 0}),
+ nfsGatewaysTotal: DS.attr('number', {defaultValue: 0}),
journalNodes: DS.hasMany('App.HostComponent'),
nameNodeStartTime: DS.attr('number'),
jvmMemoryHeapUsed: DS.attr('number'),