Permalink
Browse files

Changing Exception handling to throwable handling to kill instead of …

…freeze jobs.
  • Loading branch information...
1 parent 8303edd commit 465524d7f5e6a69a71ef82745edd15cd972ccbe4 @rbpark committed Mar 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
@@ -179,7 +179,7 @@ public void run()
try {
job.run();
}
- catch (Exception e) {
+ catch (Throwable e) {
synchronized (sync) {
jobState = Status.FAILED;
returnProps = new Props();
@@ -192,7 +192,7 @@ public void run()
System.currentTimeMillis(),
JobAction.END_WORKFLOW_JOB,
JobState.FAILED);
-
+
callCallbacks(callbackList, jobState);
throw new RuntimeException(e);

0 comments on commit 465524d

Please sign in to comment.