apache/spark — pull request #2751 by shijinkui (2014-10-10 06:26:20+00:00)
Title: [SPARK-3896] checkSpeculatableTasks fask quit loop; checkSpeculatableTasks is expensive

1. invoking checkSpeculatableTasks is expensive, once true then return true
2. import section formatting