eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay...@apache.org
Subject [04/17] eagle git commit: [MINOR] fix metix heatmap chart size bug
Date Sun, 07 May 2017 18:12:53 GMT
[MINOR] fix metix heatmap chart size bug

[MINOR] fix metix heatmap chart size bug

Author: koone <luokun1028@126.com>

Closes #918 from koone/fixbug.


Project: http://git-wip-us.apache.org/repos/asf/eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/d182819d
Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/d182819d
Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/d182819d

Branch: refs/heads/branch-0.5
Commit: d182819d8d72276d3ae29b3904007d0f01ce8c15
Parents: ecb5129
Author: koone <luokun1028@126.com>
Authored: Mon Apr 17 15:01:14 2017 -0700
Committer: Jay <jhsonline@gmail.com>
Committed: Mon Apr 17 15:01:14 2017 -0700

----------------------------------------------------------------------
 .../src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js | 4 +---
 .../src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js       | 2 +-
 .../src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js       | 2 +-
 .../src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js       | 2 +-
 4 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/eagle/blob/d182819d/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js
----------------------------------------------------------------------
diff --git a/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js
b/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js
index 2330885..7c289c3 100644
--- a/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js
+++ b/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/backupMasterListCtrl.js
@@ -118,13 +118,11 @@
 						}
 						master_status.push([x, y, 0, master.tags.hostname, master.tags.rack, master.status
|| "-"])
 					});
-				for(var i = 0;i < split; i++){
+				for(var i = 0;i <= split; i++){
 					master_status_category.push(i);
 				}
 				$scope.healthStatusSeries = [getCommonHeatMapSeries("Health", master_status)];
-				console.log($scope.healthStatusSeries);
 				$scope.healthStatusOption = getHealthHeatMapOption();
-				console.log($scope.healthStatusOption);
 				$scope.healthStatusCategory = master_status_category;
 				$scope.heatmapHeight = {
 					'height': getHeight(y)

http://git-wip-us.apache.org/repos/asf/eagle/blob/d182819d/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js
----------------------------------------------------------------------
diff --git a/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js
b/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js
index 401ef15..d83bdf2 100644
--- a/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js
+++ b/eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/regionListCtrl.js
@@ -121,7 +121,7 @@
 					regionServer_status.push([x, y, 0, regionServer.tags.hostname, regionServer.tags.rack,
regionServer.usedHeapMB, regionServer.maxHeapMB, regionServer.status || "-"]);
 				});
 				
-				for(var i = 0;i < split; i++){
+				for(var i = 0;i <= split; i++){
 					regionServer_status_category.push(i);
 				}
 				$scope.healthStatusSeries = [getCommonHeatMapSeries("Health", regionServer_status)];

http://git-wip-us.apache.org/repos/asf/eagle/blob/d182819d/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js
----------------------------------------------------------------------
diff --git a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js
b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js
index 7664b7c..3db293a 100644
--- a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js
+++ b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/datanodeListCtrl.js
@@ -121,7 +121,7 @@
 						}
 						datanode_status.push([x, y, 0, datanode.tags.hostname, datanode.tags.rack, datanode.status
|| "-"])
 					});
-				for(var i = 0;i < split; i++){
+				for(var i = 0;i <= split; i++){
 					datanode_status_category.push(i);
 				}
 				$scope.healthStatusSeries = [getCommonHeatMapSeries("Health", datanode_status)];

http://git-wip-us.apache.org/repos/asf/eagle/blob/d182819d/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js
----------------------------------------------------------------------
diff --git a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js
b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js
index d0d41bf..9baf5c0 100644
--- a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js
+++ b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/ctrl/namenodeListCtrl.js
@@ -119,7 +119,7 @@
 						}
 						namenode_status.push([x, y, 0, namenode.tags.hostname, namenode.tags.rack, namenode.usedCapacityTB,
namenode.status || "-"])
 					});
-				for(var i = 0;i < split; i++){
+				for(var i = 0;i <= split; i++){
 					namenode_status_category.push(i);
 				}
 				$scope.healthStatusSeries = [getCommonHeatMapSeries("Health", namenode_status)];


Mime
View raw message