flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [37/51] [abbrv] flink git commit: [FLINK-2357] [web dashboard] Add subtasks to vertex display
Date Thu, 17 Sep 2015 18:20:09 GMT
http://git-wip-us.apache.org/repos/asf/flink/blob/93a4d31d/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 6324e9a..bfd20db 100644
--- a/flink-runtime-web/web-dashboard/web/js/index.js
+++ b/flink-runtime-web/web-dashboard/web/js/index.js
@@ -220,49 +220,68 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
   var refresher;
   console.log('SingleJobController');
   $scope.jobid = $stateParams.jobid;
-  $rootScope.job = null;
-  $rootScope.plan = null;
+  $scope.job = null;
+  $scope.plan = null;
+  $scope.vertices = null;
   JobsService.loadJob($stateParams.jobid).then(function(data) {
-    $rootScope.job = data;
-    return $rootScope.plan = data.plan;
+    $scope.job = data;
+    $scope.plan = data.plan;
+    return $scope.vertices = data.vertices;
   });
   refresher = $interval(function() {
     return JobsService.loadJob($stateParams.jobid).then(function(data) {
-      $rootScope.job = data;
+      $scope.job = data;
       return $scope.$broadcast('reload');
     });
   }, flinkConfig["refresh-interval"]);
   return $scope.$on('$destroy', function() {
-    $rootScope.job = null;
-    $rootScope.plan = null;
+    $scope.job = null;
+    $scope.plan = null;
+    $scope.vertices = null;
     return $interval.cancel(refresher);
   });
 }]).controller('JobPlanController', ["$scope", "$state", "$stateParams", "JobsService", function($scope, $state, $stateParams, JobsService) {
   console.log('JobPlanController');
   $scope.nodeid = null;
+  $scope.nodeUnfolded = false;
   $scope.stateList = JobsService.stateList();
-  return $scope.changeNode = function(nodeid) {
+  $scope.changeNode = function(nodeid) {
     if (nodeid !== $scope.nodeid) {
       $scope.nodeid = nodeid;
       $scope.vertex = null;
+      $scope.subtasks = null;
+      $scope.accumulators = null;
       return $scope.$broadcast('reload');
     } else {
       $scope.nodeid = null;
-      return $scope.vertex = null;
+      $scope.nodeUnfolded = false;
+      $scope.vertex = null;
+      $scope.subtasks = null;
+      return $scope.accumulators = null;
     }
   };
+  $scope.deactivateNode = function() {
+    $scope.nodeid = null;
+    $scope.nodeUnfolded = false;
+    $scope.vertex = null;
+    $scope.subtasks = null;
+    return $scope.accumulators = null;
+  };
+  return $scope.toggleFold = function() {
+    return $scope.nodeUnfolded = !$scope.nodeUnfolded;
+  };
 }]).controller('JobPlanOverviewController', ["$scope", "JobsService", function($scope, JobsService) {
   console.log('JobPlanOverviewController');
   if ($scope.nodeid && (!$scope.vertex || !$scope.vertex.st)) {
     JobsService.getSubtasks($scope.nodeid).then(function(data) {
-      return $scope.vertex = data;
+      return $scope.subtasks = 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;
+        return $scope.subtasks = data;
       });
     }
   });
@@ -270,14 +289,16 @@ angular.module('flinkApp').controller('RunningJobsController', ["$scope", "$stat
   console.log('JobPlanAccumulatorsController');
   if ($scope.nodeid && (!$scope.vertex || !$scope.vertex.accumulators)) {
     JobsService.getAccumulators($scope.nodeid).then(function(data) {
-      return $scope.vertex = data;
+      $scope.accumulators = data.main;
+      return $scope.subtaskAccumulators = data.subtasks;
     });
   }
   return $scope.$on('reload', function(event) {
     console.log('JobPlanAccumulatorsController');
     if ($scope.nodeid) {
       return JobsService.getAccumulators($scope.nodeid).then(function(data) {
-        return $scope.vertex = data;
+        $scope.accumulators = data.main;
+        return $scope.subtaskAccumulators = data.subtasks;
       });
     }
   });
@@ -328,7 +349,6 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
         testData = [];
         angular.forEach(data.subtasks, function(subtask, i) {
           var times;
-          console.log(data.subtasks);
           times = [
             {
               label: "Scheduled",
@@ -357,7 +377,7 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
             });
           }
           return testData.push({
-            label: subtask.host + " (" + subtask.subtask + ")",
+            label: "(" + subtask.subtask + ") " + subtask.host,
             times: times
           });
         });
@@ -381,7 +401,8 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
   return {
     template: "<svg class='timeline' width='0' height='0'></svg>",
     scope: {
-      job: "="
+      vertices: "=",
+      jobid: "="
     },
     link: function(scope, elem, attrs) {
       var analyzeTime, containerW, svgEl, translateLabel;
@@ -395,39 +416,42 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
         var chart, svg, testData;
         d3.select(svgEl).selectAll("*").remove();
         testData = [];
-        testData.push({
-          times: [
-            {
-              label: "Scheduled",
-              color: "#cccccc",
-              borderColor: "#555",
-              starting_time: data.timestamps["CREATED"],
-              ending_time: data.timestamps["CREATED"] + 1,
-              type: 'scheduled'
-            }
-          ]
-        });
-        angular.forEach(data.vertices, function(vertex) {
+        angular.forEach(data, function(vertex) {
           if (vertex['start-time'] > -1) {
-            return testData.push({
-              times: [
-                {
-                  label: translateLabel(vertex.name),
-                  color: "#d9f1f7",
-                  borderColor: "#62cdea",
-                  starting_time: vertex['start-time'],
-                  ending_time: vertex['end-time'],
-                  link: vertex.id,
-                  type: 'regular'
-                }
-              ]
-            });
+            if (vertex.type === 'scheduled') {
+              return testData.push({
+                times: [
+                  {
+                    label: translateLabel(vertex.name),
+                    color: "#cccccc",
+                    borderColor: "#555555",
+                    starting_time: vertex['start-time'],
+                    ending_time: vertex['end-time'],
+                    type: vertex.type
+                  }
+                ]
+              });
+            } else {
+              return testData.push({
+                times: [
+                  {
+                    label: translateLabel(vertex.name),
+                    color: "#d9f1f7",
+                    borderColor: "#62cdea",
+                    starting_time: vertex['start-time'],
+                    ending_time: vertex['end-time'],
+                    link: vertex.id,
+                    type: vertex.type
+                  }
+                ]
+              });
+            }
           }
         });
         chart = d3.timeline().stack().click(function(d, i, datum) {
           if (d.link) {
             return $state.go("single-job.timeline.vertex", {
-              jobid: data.jid,
+              jobid: scope.jobid,
               vertexId: d.link
             });
           }
@@ -442,7 +466,7 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
         }).itemHeight(30).showBorderLine().showHourTimeline();
         return svg = d3.select(svgEl).datum(testData).call(chart);
       };
-      scope.$watch(attrs.job, function(data) {
+      scope.$watch(attrs.vertices, function(data) {
         if (data) {
           return analyzeTime(data);
         }
@@ -457,7 +481,8 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
       setNode: '&'
     },
     link: function(scope, elem, attrs) {
-      var containerW, createEdge, createLabelEdge, createLabelNode, createNode, d3mainSvg, d3mainSvgG, d3tmpSvg, drawGraph, extendLabelNodeForIteration, getNodeType, isSpecialIterationNode, jobid, loadJsonToDagre, mainG, mainSvgElement, mainTmpElement, mainZoom, searchForNode, shortenString, subgraphs;
+      var containerW, createEdge, createLabelEdge, createLabelNode, createNode, d3mainSvg, d3mainSvgG, d3tmpSvg, drawGraph, extendLabelNodeForIteration, g, getNodeType, isSpecialIterationNode, jobid, loadJsonToDagre, mainG, mainSvgElement, mainTmpElement, mainZoom, searchForNode, shortenString, subgraphs;
+      g = null;
       mainZoom = d3.behavior.zoom();
       subgraphs = [];
       jobid = attrs.jobid;
@@ -706,7 +731,7 @@ angular.module('flinkApp').directive('vertex', ["$state", function($state) {
         }
       };
       drawGraph = function(data) {
-        var g, i, newScale, renderer, sg, xCenterOffset, yCenterOffset;
+        var i, newScale, renderer, sg, xCenterOffset, yCenterOffset;
         g = new dagreD3.graphlib.Graph({
           multigraph: true,
           compound: true
@@ -808,6 +833,17 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
       }
     });
   };
+  this.processVertices = function(data) {
+    angular.forEach(data.vertices, function(vertex, i) {
+      return vertex.type = 'regular';
+    });
+    return data.vertices.unshift({
+      name: 'Scheduled',
+      'start-time': data.timestamps['CREATED'],
+      'end-time': data.timestamps['CREATED'] + 1,
+      type: 'scheduled'
+    });
+  };
   this.listJobs = function() {
     var deferred;
     deferred = $q.defer();
@@ -843,10 +879,11 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     $http.get(flinkConfig.jobServer + "/jobs/" + jobid).success((function(_this) {
       return function(data, status, headers, config) {
         _this.setEndTimes(data.vertices);
+        _this.processVertices(data);
         return $http.get(flinkConfig.jobServer + "/jobs/" + jobid + "/config").success(function(jobConfig) {
           data = angular.extend(data, jobConfig);
           currentJob = data;
-          return deferreds.job.resolve(data);
+          return deferreds.job.resolve(currentJob);
         });
       };
     })(this));
@@ -855,9 +892,9 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
   this.getNode = function(nodeid) {
     var deferred, seekNode;
     seekNode = function(nodeid, data) {
-      var i, len, node, sub;
-      for (i = 0, len = data.length; i < len; i++) {
-        node = data[i];
+      var j, len, node, sub;
+      for (j = 0, len = data.length; j < len; j++) {
+        node = data[j];
         if (node.id === nodeid) {
           return node;
         }
@@ -882,10 +919,10 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     return deferred.promise;
   };
   this.seekVertex = function(nodeid) {
-    var i, len, ref, vertex;
+    var j, len, ref, vertex;
     ref = currentJob.vertices;
-    for (i = 0, len = ref.length; i < len; i++) {
-      vertex = ref[i];
+    for (j = 0, len = ref.length; j < len; j++) {
+      vertex = ref[j];
       if (vertex.id === nodeid) {
         return vertex;
       }
@@ -901,8 +938,6 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
         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);
         });
       };
@@ -914,11 +949,10 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     deferred = $q.defer();
     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).success(function(data) {
-          vertex.st = data.subtasks;
-          return deferred.resolve(vertex);
+          var subtasks;
+          subtasks = data.subtasks;
+          return deferred.resolve(subtasks);
         });
       };
     })(this));
@@ -929,11 +963,17 @@ angular.module('flinkApp').service('JobsService', ["$http", "flinkConfig", "$log
     deferred = $q.defer();
     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 + "/accumulators").success(function(data) {
-          vertex.accumulators = data['user-accumulators'];
-          return deferred.resolve(vertex);
+          var accumulators;
+          accumulators = data['user-accumulators'];
+          return $http.get(flinkConfig.jobServer + "/jobs/" + currentJob.jid + "/vertices/" + vertexid + "/subtasks/accumulators").success(function(data) {
+            var subtaskAccumulators;
+            subtaskAccumulators = data.subtasks;
+            return deferred.resolve({
+              main: accumulators,
+              subtasks: subtaskAccumulators
+            });
+          });
         });
       };
     })(this));
@@ -994,4 +1034,4 @@ angular.module('flinkApp').service('OverviewService', ["$http", "flinkConfig", "
   return this;
 }]);
 
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNvZmZlZSIsImluZGV4LmpzIiwiY29tbW9uL2RpcmVjdGl2ZXMuY29mZmVlIiwiY29tbW9uL2RpcmVjdGl2ZXMuanMiLCJjb21tb24vZmlsdGVycy5jb2ZmZWUiLCJjb21tb24vZmlsdGVycy5qcyIsImNvbW1vbi9zZXJ2aWNlcy5jb2ZmZWUiLCJjb21tb24vc2VydmljZXMuanMiLCJtb2R1bGVzL2pvYnMvam9icy5jdHJsLmNvZmZlZSIsIm1vZHVsZXMvam9icy9qb2JzLmN0cmwuanMiLCJtb2R1bGVzL2pvYnMvam9icy5kaXIuY29mZmVlIiwibW9kdWxlc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ZlKClcblxuICAgICAgdGVzdERhdGEgPSBbXVxuXG4gICAgICBhbmd1bGFyLmZvckVhY2ggZGF0YS5zdWJ0YXNrcywgKHN1YnRhc2ssIGkpIC0+XG4gICAgICAgIGNvbnNvbGUubG9nIGRhdGEuc3VidGFza3N
 cblxuICAgICAgICB0aW1lcyA9IFtcbiAgICAgICAgICB7XG4gICAgICAgICAgICBsYWJlbDogXCJTY2hlZHVsZWRcIlxuICAgICAgICAgICAgY29sb3I6IFwiIzY2NlwiXG4gICAgICAgICAgICBib3JkZXJDb2xvcjogXCIjNTU1XCJcbiAgICAgICAgICAgIHN0YXJ0aW5nX3RpbWU6IHN1YnRhc2sudGltZXN0YW1wc1tcIlNDSEVEVUxFRFwiXVxuICAgICAgICAgICAgZW5kaW5nX3RpbWU6IHN1YnRhc2sudGltZXN0YW1wc1tcIkRFUExPWUlOR1wiXVxuICAgICAgICAgICAgdHlwZTogJ3JlZ3VsYXInXG4gICAgICAgICAgfVxuICAgICAgICAgIHtcbiAgICAgICAgICAgIGxhYmVsOiBcIkRlcGxveWluZ1wiXG4gICAgICAgICAgICBjb2xvcjogXCIjYWFhXCJcbiAgICAgICAgICAgIGJvcmRlckNvbG9yOiBcIiM1NTVcIlxuICAgICAgICAgICAgc3RhcnRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiREVQTE9ZSU5HXCJdXG4gICAgICAgICAgICBlbmRpbmdfdGltZTogc3VidGFzay50aW1lc3RhbXBzW1wiUlVOTklOR1wiXVxuICAgICAgICAgICAgdHlwZTogJ3JlZ3VsYXInXG4gICAgICAgICAgfVxuICAgICAgICBdXG5cbiAgICAgICAgaWYgc3VidGFzay50aW1lc3RhbXBzW1wiRklOSVNIRURcIl0gPiAwXG4gICAgICAgICAgdGltZXMucHVzaCB7XG4gICAgICAgICAgICBsYWJlbDogXCJSdW5uaW5nXCJcbiAgICAgICAgICAgIGNvbG9yOiBcIiNkZGRcIlxuICAgICAgICAgICAgYm9yZGVyQ29sb3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