azkaban-developers

Merge pull request #212 from rbpark/retryFix Was resetting

3/21/2014 9:39:00 PM

Details

diff --git a/src/java/azkaban/execapp/FlowRunner.java b/src/java/azkaban/execapp/FlowRunner.java
index 6aba34a..fd8f116 100644
--- a/src/java/azkaban/execapp/FlowRunner.java
+++ b/src/java/azkaban/execapp/FlowRunner.java
@@ -975,8 +975,6 @@ public class FlowRunner extends EventHandler implements Runnable {
 		}
 		flow.setUpdateTime(System.currentTimeMillis());
 		flow.setEndTime(-1);
-		flow.setStartTime(maxStartTime);
-		
 		logger.info("Resetting flow '" + flow.getNestedId() + "' from " + oldFlowState + " to " + flow.getStatus());
 	}
 	
diff --git a/src/web/js/azkaban/view/flow-execution-list.js b/src/web/js/azkaban/view/flow-execution-list.js
index 5a844a7..f99fc61 100644
--- a/src/web/js/azkaban/view/flow-execution-list.js
+++ b/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 = nodeId;
+						attemptBox.job = node.id;
 						attemptBox.attempt = a;
 					}
 				}