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 2015/09/30 16:45:57 UTC
[37/50] [abbrv] ambari git commit: AMBARI-13262 NFSGateway reports
wrong count after manual stack upgrade. (atkach)
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/4119f0e5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4119f0e5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4119f0e5
Branch: refs/heads/branch-dev-patch-upgrade
Commit: 4119f0e5588ee3603efa6e6e57a7856e86b3efe9
Parents: 6a5a6a3
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Mon Sep 28 21:33:36 2015 +0300
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Mon Sep 28 21:34:04 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/4119f0e5/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'),