|
@@ -1779,7 +1779,7 @@ public class TaskTracker
|
|
|
StringBuffer diagnosticInfo = new StringBuffer();
|
|
|
private TaskRunner runner;
|
|
|
volatile boolean done = false;
|
|
|
- boolean wasKilled = false;
|
|
|
+ volatile boolean wasKilled = false;
|
|
|
private JobConf defaultJobConf;
|
|
|
private JobConf localJobConf;
|
|
|
private boolean keepFailedTaskFiles;
|
|
@@ -2026,6 +2026,10 @@ public class TaskTracker
|
|
|
LOG.info("reported output size for " + task.getTaskID() + " was " + taskStatus.getOutputSize());
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ public boolean wasKilled() {
|
|
|
+ return wasKilled;
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* The task has actually finished running.
|