azkaban-aplcache

Issue 331 : For job with retry - the attempt count doesn't match

11/13/2014 8:35:51 PM

Details

diff --git a/azkaban-webserver/src/web/js/azkaban/view/flow-execution-list.js b/azkaban-webserver/src/web/js/azkaban/view/flow-execution-list.js
index dff99b4..9fe9b0f 100644
--- a/azkaban-webserver/src/web/js/azkaban/view/flow-execution-list.js
+++ b/azkaban-webserver/src/web/js/azkaban/view/flow-execution-list.js
@@ -145,7 +145,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
             $(attemptBox).bind("contextmenu", attemptRightClick);
 
             $(progressBar).before(attemptBox);
-            attemptBox.job = node.id;
+            attemptBox.job = node.nestedId;
             attemptBox.attempt = a;
           }
         }
@@ -205,7 +205,7 @@ azkaban.ExecutionListView = Backbone.View.extend({
 
       // Add all the attempts
       if (node.pastAttempts) {
-        var logURL = contextURL + "/executor?execid=" + execId + "&job=" + node.id + "&attempt=" +  node.pastAttempts.length;
+        var logURL = contextURL + "/executor?execid=" + execId + "&job=" + node.nestedId + "&attempt=" +  node.pastAttempts.length;
         var anchor = $(tr).find("> td.details > a");
         if (anchor.length != 0) {
           $(anchor).attr("href", logURL);