flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [39/51] [abbrv] flink git commit: [FLINK-2357] [web dashboard] Add auto-refresh to dashboard
Date Thu, 17 Sep 2015 18:20:11 GMT
http://git-wip-us.apache.org/repos/asf/flink/blob/616b7d56/flink-runtime-web/web-dashboard/web/js/index.js
----------------------------------------------------------------------
diff --git a/flink-runtime-web/web-dashboard/web/js/index.js b/flink-runtime-web/web-dashboard/web/js/index.js
index f7394f8..6324e9a 100644
--- a/flink-runtime-web/web-dashboard/web/js/index.js
+++ b/flink-runtime-web/web-dashboard/web/js/index.js
@@ -216,7 +216,8 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
     return JobsService.unRegisterObserver($scope.jobObserver);
   });
   return $scope.jobObserver();
-}]).controller('SingleJobController', ["$scope", "$state", "$stateParams", "JobsService", "$rootScope", function($scope, $state, $stateParams, JobsService, $rootScope) {
+}]).controller('SingleJobController', ["$scope", "$state", "$stateParams", "JobsService", "$rootScope", "flinkConfig", "$interval", function($scope, $state, $stateParams, JobsService, $rootScope, flinkConfig, $interval) {
+  var refresher;
   console.log('SingleJobController');
   $scope.jobid = $stateParams.jobid;
   $rootScope.job = null;
@@ -225,9 +226,16 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
     $rootScope.job = data;
     return $rootScope.plan = data.plan;
   });
+  refresher = $interval(function() {
+    return JobsService.loadJob($stateParams.jobid).then(function(data) {
+      $rootScope.job = data;
+      return $scope.$broadcast('reload');
+    });
+  }, flinkConfig["refresh-interval"]);
   return $scope.$on('$destroy', function() {
     $rootScope.job = null;
-    return $rootScope.plan = null;
+    $rootScope.plan = null;
+    return $interval.cancel(refresher);
   });
 }]).controller('JobPlanController', ["$scope", "$state", "$stateParams", "JobsService", function($scope, $state, $stateParams, JobsService) {
   console.log('JobPlanController');
@@ -237,15 +245,7 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
     if (nodeid !== $scope.nodeid) {
       $scope.nodeid = nodeid;
       $scope.vertex = null;
-      if ($state.is('single-job.plan.overview')) {
-        return JobsService.getSubtasks(nodeid).then(function(data) {
-          return $scope.vertex = data;
-        });
-      } else if ($state.is('single-job.plan.accumulators')) {
-        return JobsService.getAccumulators(nodeid).then(function(data) {
-          return $scope.vertex = data;
-        });
-      }
+      return $scope.$broadcast('reload');
     } else {
       $scope.nodeid = null;
       return $scope.vertex = null;
@@ -253,22 +253,45 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
   };
 }]).controller('JobPlanOverviewController', ["$scope", "JobsService", function($scope, JobsService) {
   console.log('JobPlanOverviewController');
-  if ($scope.nodeid && !$scope.vertex.st) {
-    return JobsService.getSubtasks($scope.nodeid).then(function(data) {
+  if ($scope.nodeid && (!$scope.vertex || !$scope.vertex.st)) {
+    JobsService.getSubtasks($scope.nodeid).then(function(data) {
       return $scope.vertex = data;
     });
   }
+  return $scope.$on('reload', function(event) {
+    console.log('JobPlanOverviewController');
+    if ($scope.nodeid) {
+      return JobsService.getSubtasks($scope.nodeid).then(function(data) {
+        return $scope.vertex = data;
+      });
+    }
+  });
 }]).controller('JobPlanAccumulatorsController', ["$scope", "JobsService", function($scope, JobsService) {
   console.log('JobPlanAccumulatorsController');
-  if ($scope.nodeid && !$scope.vertex.accumulators) {
-    return JobsService.getAccumulators($scope.nodeid).then(function(data) {
+  if ($scope.nodeid && (!$scope.vertex || !$scope.vertex.accumulators)) {
+    JobsService.getAccumulators($scope.nodeid).then(function(data) {
       return $scope.vertex = data;
     });
   }
+  return $scope.$on('reload', function(event) {
+    console.log('JobPlanAccumulatorsController');
+    if ($scope.nodeid) {
+      return JobsService.getAccumulators($scope.nodeid).then(function(data) {
+        return $scope.vertex = data;
+      });
+    }
+  });
 }]).controller('JobTimelineVertexController', ["$scope", "$state", "$stateParams", "JobsService", function($scope, $state, $stateParams, JobsService) {
-  return JobsService.getVertex($stateParams.vertexId).then(function(data) {
+  console.log('JobTimelineVertexController');
+  JobsService.getVertex($stateParams.vertexId).then(function(data) {
     return $scope.vertex = data;
   });
+  return $scope.$on('reload', function(event) {
+    console.log('JobTimelineVertexController');
+    return JobsService.getVertex($stateParams.vertexId).then(function(data) {
+      return $scope.vertex = data;
+    });
+  });
 }]).controller('JobExceptionsController', ["$scope", "$state", "$stateParams", "JobsService", function($scope, $state, $stateParams, JobsService) {
   return JobsService.loadExceptions().then(function(data) {
     return $scope.exceptions = data;
@@ -301,34 +324,41 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
       angular.element(svgEl).attr('width', containerW);
       analyzeTime = function(data) {
         var chart, svg, testData;
+        d3.select(svgEl).selectAll("*").remove();
         testData = [];
         angular.forEach(data.subtasks, function(subtask, i) {
+          var times;
+          console.log(data.subtasks);
+          times = [
+            {
+              label: "Scheduled",
+              color: "#666",
+              borderColor: "#555",
+              starting_time: subtask.timestamps["SCHEDULED"],
+              ending_time: subtask.timestamps["DEPLOYING"],
+              type: 'regular'
+            }, {
+              label: "Deploying",
+              color: "#aaa",
+              borderColor: "#555",
+              starting_time: subtask.timestamps["DEPLOYING"],
+              ending_time: subtask.timestamps["RUNNING"],
+              type: 'regular'
+            }
+          ];
+          if (subtask.timestamps["FINISHED"] > 0) {
+            times.push({
+              label: "Running",
+              color: "#ddd",
+              borderColor: "#555",
+              starting_time: subtask.timestamps["RUNNING"],
+              ending_time: subtask.timestamps["FINISHED"],
+              type: 'regular'
+            });
+          }
           return testData.push({
             label: subtask.host + " (" + subtask.subtask + ")",
-            times: [
-              {
-                label: "Scheduled",
-                color: "#666",
-                borderColor: "#555",
-                starting_time: subtask.timestamps["SCHEDULED"],
-                ending_time: subtask.timestamps["DEPLOYING"],
-                type: 'regular'
-              }, {
-                label: "Deploying",
-                color: "#aaa",
-                borderColor: "#555",
-                starting_time: subtask.timestamps["DEPLOYING"],
-                ending_time: subtask.timestamps["RUNNING"],
-                type: 'regular'
-              }, {
-                label: "Running",
-                color: "#ddd",
-                borderColor: "#555",
-                starting_time: subtask.timestamps["RUNNING"],
-                ending_time: subtask.timestamps["FINISHED"],
-                type: 'regular'
-              }
-            ]
+            times: times
           });
         });
         chart = d3.timeline().stack().tickFormat({
@@ -363,6 +393,7 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
       };
       analyzeTime = function(data) {
         var chart, svg, testData;
+        d3.select(svgEl).selectAll("*").remove();
         testData = [];
         testData.push({
           times: [
@@ -771,9 +802,9 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     }
   };
   this.setEndTimes = function(list) {
-    return angular.forEach(list, function(job, jobKey) {
-      if (!(job['end-time'] > -1)) {
-        return job['end-time'] = job['start-time'] + job['duration'];
+    return angular.forEach(list, function(item, jobKey) {
+      if (!(item['end-time'] > -1)) {
+        return item['end-time'] = item['start-time'] + item['duration'];
       }
     });
   };
@@ -821,15 +852,6 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     })(this));
     return deferreds.job.promise;
   };
-  this.loadPlan = function(jobid) {
-    currentPlan = null;
-    deferreds.plan = $q.defer();
-    $http.get(flinkConfig.jobServer + "/jobs/" + jobid + "/plan").success(function(data) {
-      currentPlan = data;
-      return deferreds.plan.resolve(data);
-    });
-    return deferreds.plan.promise;
-  };
   this.getNode = function(nodeid) {
     var deferred, seekNode;
     seekNode = function(nodeid, data) {
@@ -849,7 +871,7 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
       return null;
     };
     deferred = $q.defer();
-    $q.all([deferreds.job.promise]).then((function(_this) {
+    deferreds.job.promise.then((function(_this) {
       return function(data) {
         var foundNode;
         foundNode = seekNode(nodeid, currentJob.plan.nodes);
@@ -873,12 +895,14 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
   this.getVertex = function(vertexid) {
     var deferred;
     deferred = $q.defer();
-    $q.all([deferreds.job.promise]).then((function(_this) {
+    deferreds.job.promise.then((function(_this) {
       return function(data) {
         var vertex;
         vertex = _this.seekVertex(vertexid);
         return $http.get(flinkConfig.jobServer + "/jobs/" + currentJob.jid + "/vertices/" + vertexid + "/subtasktimes").success(function(data) {
           vertex.subtasks = data.subtasks;
+          _this.setEndTimes(vertex.subtasks);
+          console.log(vertex.subtasks);
           return deferred.resolve(vertex);
         });
       };
@@ -888,7 +912,7 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
   this.getSubtasks = function(vertexid) {
     var deferred;
     deferred = $q.defer();
-    $q.all([deferreds.job.promise]).then((function(_this) {
+    deferreds.job.promise.then((function(_this) {
       return function(data) {
         var vertex;
         vertex = _this.seekVertex(vertexid);
@@ -903,7 +927,7 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
   this.getAccumulators = function(vertexid) {
     var deferred;
     deferred = $q.defer();
-    $q.all([deferreds.job.promise]).then((function(_this) {
+    deferreds.job.promise.then((function(_this) {
       return function(data) {
         var vertex;
         vertex = _this.seekVertex(vertexid);
@@ -918,7 +942,7 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
   this.loadExceptions = function() {
     var deferred;
     deferred = $q.defer();
-    $q.all([deferreds.job.promise]).then((function(_this) {
+    deferreds.job.promise.then((function(_this) {
       return function(data) {
         return $http.get(flinkConfig.jobServer + "/jobs/" + currentJob.jid + "/exceptions").success(function(exceptions) {
           currentJob.exceptions = exceptions;
@@ -970,4 +994,4 @@ angular.module('flinkApp').service('OverviewService', ["$http", "flinkConfig", "
   return this;
 }]);
 
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNvZmZlZSIsImluZGV4LmpzIiwiY29tbW9uL2RpcmVjdGl2ZXMuY29mZmVlIiwiY29tbW9uL2RpcmVjdGl2ZXMuanMiLCJjb21tb24vZmlsdGVycy5jb2ZmZWUiLCJjb21tb24vZmlsdGVycy5qcyIsImNvbW1vbi9zZXJ2aWNlcy5jb2ZmZWUiLCJjb21tb24vc2VydmljZXMu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H0gKCN7c3VidGFzay5zdWJ0YXNrfSlcIlxuICAgICAgICAgIHRpbWVzOiBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIGxhYmVsOiBcIlNjaGVkdWxlZFwiXG4gICAgICAgICAgICAgIGNvbG9yOiBcIiM2NjZcIlxuICAgICAgICAgICAgICBib3JkZXJDb2xvcjogXCIjNTU1XCJcbiAgICAgICAgICAgICAgc3RhcnRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiU0NIRURVTEVEXCJdXG4gICAgICAgICAgICAgIGVuZGluZ190aW1lOiBzdWJ0YXNrLnRpbWVzdGFtcHNbXCJERVBMT1lJTkdcIl1cbiAgICAgICAgICAgICAgdHlwZTogJ3JlZ3VsYXInXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIGxhYmVsOiBcIkRlcGxveWluZ1wiXG4gI
 CAgICAgICAgICAgIGNvbG9yOiBcIiNhYWFcIlxuICAgICAgICAgICAgICBib3JkZXJDb2xvcjogXCIjNTU1XCJcbiAgICAgICAgICAgICAgc3RhcnRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiREVQTE9ZSU5HXCJdXG4gICAgICAgICAgICAgIGVuZGluZ190aW1lOiBzdWJ0YXNrLnRpbWVzdGFtcHNbXCJSVU5OSU5HXCJdXG4gICAgICAgICAgICAgIHR5cGU6ICdyZWd1bGFyJ1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBsYWJlbDogXCJSdW5uaW5nXCJcbiAgICAgICAgICAgICAgY29sb3I6IFwiI2RkZFwiXG4gICAgICAgICAgICAgIGJvcmRlckNvbG9yOiBcIiM1NTVcIlxuICAgICAgICAgICAgICBzdGFydGluZ190aW1lOiBzdWJ0YXNrLnRpbWVzdGFtcHNbXCJSVU5OSU5HXCJdXG4gICAgICAgICAgICAgIGVuZGluZ190aW1lOiBzdWJ0YXNrLnRpbWVzdGFtcHNbXCJGSU5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gICAgICAgICAgICAgICBib3JkZXJDb2xvcjogXCIjNTU1XCIsXG4gICAgICAgICAgICAgICAgc3RhcnRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiU0NIRURVTEVEXCJdLFxuICAgICAgICAgICAgICAgIGVuZGluZ190aW1lOiBzdWJ0YXNrLnRpbWVzdGFtcHNbXCJERVBMT1lJTkdcIl0sXG4gICAgICAgICAgICAgICAgdHlwZTogJ3JlZ3VsYXInXG4gICAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICBsYWJlbDogXCJEZXBsb3lpbmdcIixcbiAgICAgICAgICAgICAgICBjb2xvcjogXCIjYWFhXCIsXG4gICAgICAgICAgICAgICAgYm9yZGVyQ29sb3I6IFwiIzU1NVwiLFxuICAgICAgICAgICAgICAgIHN0YXJ0aW5nX3RpbWU6IHN1YnRhc2sudGltZXN0YW1wc1tcIkRFUExPWUlOR1wiXSxcbiAgICAgICAgICAgICAgICBlbmRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiUlVOTklOR1wiXSxcbiAgICAgICAgICAgICAgICB0eXBlOiAncmVndWxhcidcbiAgICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgI
 CAgIGxhYmVsOiBcIlJ1bm5pbmdcIixcbiAgICAgICAgICAgICAgICBjb2xvcjogXCIjZGRkXCIsXG4gICAgICAgICAgICAgICAgYm9yZGVyQ29sb3I6IFwiIzU1NVwiLFxuICAgICAgICAgICAgICAgIHN0YXJ0aW5nX3RpbWU6IHN1YnRhc2sudGltZXN0YW1wc1tcIlJVTk5JTkdcIl0sXG4gICAgICAgICAgICAgICAgZW5kaW5nX3RpbWU6IHN1YnRhc2sudGltZXN0YW1wc1tcIkZJTklTSEVEXCJdLFxuICAgICAgICAgICAgICAgIHR5cGU6ICdyZWd1bGFyJ1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICBdXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgICAgICBjaGFydCA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bCkuYXR0cignd2lkdGgnLCBjb250YWluZXJXKTtcbiAgICAgIHRyYW5zbGF0ZUxhYmVsID0gZnVuY3Rpb24obGFiZWwpIHtcbiAgICAgICAgcmV0dXJuIGxhYmVsLnJlcGxhY2UoXCImZ3Q7XCIsIFwiPlwiKTtcbiAgICAgIH07XG4gICAgICBhbmFseXplVGltZSA9IGZ1bmN0aW9uKGRhdGEpIHtcbiAgICAgICAgdmFyIGNoYXJ0LCBzdmcsIHRlc3REYXRhO1xuICAgICAgICB0ZXN0RGF0YSA9IFtdO1xuICAgICAgICB0ZXN0RGF0YS5wdXNoKHtcbiAgICAgICAgICB0aW1lczogW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBsYWJlbDogXCJTY2hlZHVsZWRcIixcbiAgICAgICAgICAgICA
 gY29sb3I6IFwiI2NjY2NjY1wiLFxuICAgICAgICAgICAgICBib3JkZXJDb2xvcjogXCIjNTU1XCIsXG4gICAgICAgICAgICAgIHN0YXJ0aW5nX3RpbWU6IGRhdGEudGltZXN0YW1wc1tcIkNSRUFURURcIl0sXG4gICAgICAgICAgICAgIGVuZGluZ190aW1lOiBkYXRhLnRpbWVzdGFtcHNbXCJDUkVBVEVEXCJdICsgMSxcbiAgICAgICAgICAgICAgdHlwZTogJ3NjaGVkdWxlZCdcbiAgICAgICAgICAgIH1cbiAgICAgICAgICBdXG4gICAgICAgIH0pO1xuICAgICAgICBhbmd1bGFyLmZvckVhY2goZGF0YS52ZXJ0aWNlcywgZnVuY3Rpb24odmVydGV4KSB7XG4gICAgICAgICAgaWYgKHZlcnRleFsnc3RhcnQtdGltZSddID4gLTEpIHtcbiAgICAgICAgICAgIHJldHVybiB0ZXN0RGF0YS5wdXNoKHtcbiAgICAgICAgICAgICAgdGltZXM6IFtcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICBsYWJlbDogdHJhbnNsYXRlTGFiZWwodmVydGV4Lm5hbWUpLFxuICAgICAgICAgICAgICAgICAgY29sb3I6IFwiI2Q5ZjFmN1wiLFxuICAgICAgICAgICAgICAgICAgYm9yZGVyQ29sb3I6IFwiIzYyY2RlYVwiLFxuICAgICAgICAgICAgICAgICAgc3RhcnRpbmdfdGltZTogdmVydGV4WydzdGFydC10aW1lJ10sXG4gICAgICAgICAgICAgICAgICBlbmRpbmdfdGltZTogdmVydGV4WydlbmQtdGltZSddLFxuICAgICAgICAgICAgICAgICAgbGluazogdmVydGV4LmlkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ3Jl
 Z3VsYXInXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBdXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBjaGFydCA9IGQzLnRpbWVsaW5lKCkuc3RhY2soKS5jbGljayhmdW5jdGlvbihkLCBpLCBkYXR1bSkge1xuICAgICAgICAg

<TRUNCATED>

Mime
View raw message