Repository: eagle Updated Branches: refs/heads/master ec52457cd -> fa713a48e
fix some hdfs dashbord problem fix some hdfs dashbord problem Author: koone <[email protected]> Closes #877 from koone/hdfsdashbordfix. Project: http://git-wip-us.apache.org/repos/asf/eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/fa713a48 Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/fa713a48 Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/fa713a48 Branch: refs/heads/master Commit: fa713a48eb15d75bf596fcbe5e50cd9859cb5259 Parents: ec52457 Author: koone <[email protected]> Authored: Thu Mar 16 08:06:35 2017 +0000 Committer: r7raul1984 <[email protected]> Committed: Thu Mar 16 08:06:35 2017 +0000 ---------------------------------------------------------------------- .../eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js | 2 +- .../src/main/webapp/app/apps/hdfs/widget/availabilityChart.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/eagle/blob/fa713a48/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js ---------------------------------------------------------------------- diff --git a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js index fb64d4e..7e42e29 100644 --- a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js +++ b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/index.js @@ -45,7 +45,7 @@ templateUrl: "partials/namenodeList.html", controller: "namenodeListCtrl" }).route("namenodeDetail", { - url: "/hadoopService/hdfs:hostname?startTime&endTime", + url: "/hadoopService/hdfs/:hostname?startTime&endTime", site: true, reloadOnSearch: false, templateUrl: "partials/overview.html", http://git-wip-us.apache.org/repos/asf/eagle/blob/fa713a48/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/widget/availabilityChart.js ---------------------------------------------------------------------- diff --git a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/widget/availabilityChart.js b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/widget/availabilityChart.js index e0df1a8..1053621 100644 --- a/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/widget/availabilityChart.js +++ b/eagle-metric/eagle-hdfs-web/src/main/webapp/app/apps/hdfs/widget/availabilityChart.js @@ -100,7 +100,7 @@ '<span>{{namenodestandbynum||0}}</span> Standby)' + '</a>' + '<div ng-show="!namenodeactivenum && !namenodestandbynum">' + - '<span>0</span> Masters (' + + '<span>0</span> Namenodes (' + '<span>0</span> Active / ' + '<span>0</span> Standby)' + '</div>' + @@ -117,7 +117,7 @@ '<span>{{datanodeunhealtynum||0}}</span> Unhealthy)' + '</a>' + '<div ng-show="!datanodehealtynum && !datanodehealtynum">' + - '<span>0</span> Masters (' + + '<span>0</span> Datanodes (' + '<span>0</span> Active / ' + '<span>0</span> Standby)' + '</div>' +
