ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [37/50] [abbrv] ambari git commit: AMBARI-13262 NFSGateway reports wrong count after manual stack upgrade. (atkach)
Date Wed, 30 Sep 2015 14:45:57 GMT
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 <atkach@hortonworks.com>
Authored: Mon Sep 28 21:33:36 2015 +0300
Committer: Andrii Tkach <atkach@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'),


Mime
View raw message