+   * recovers completely and succeeds in the second generation.
+    // atetmpt to be crated before this check.
+    // Crash the app again.
+    //stop the app before the job completes.
+            // Pass everything except the 2nd attempt of the first task.
+    //     map tasks take 3 slots and reduce tasks 2 slots.
+   * NEW state.  Attempts transition only from NEW to RUNNING to SUCCEEDED .
+              System.out.println("TLTRE:A speculation finished at time "
+                  + "% progress, and it started at "
+                  + hisStartTime + ", which is "
+                  "TLTRE: We would have expected the original attempt to take "
+                  "TLTRE: The normal attempt beat the speculation in "
+ * Make sure that the job staging directory clean up happens.
+   private final static RecordFactory recordFactory = RecordFactoryProvider.