[SPARK-2947] DAGScheduler resubmit the stage into an infinite loop