wuyi created SPARK-31485: ---------------------------- Summary: Barrier stage can hang if only partial tasks launched Key: SPARK-31485 URL: https://issues.apache.org/jira/browse/SPARK-31485 Project: Spark Issue Type: Bug Components: Spark Core Affects Versions: 2.4.0 Reporter: wuyi
The issue can be reproduced by following test: {code:java} initLocalClusterSparkContext(2) val rdd0 = sc.parallelize(Seq(0, 1, 2, 3), 2) val dep = new OneToOneDependency[Int](rdd0) val rdd = new MyRDD(sc, 2, List(dep), Seq(Seq("executor_h_0"),Seq("executor_h_0"))) rdd.barrier().mapPartitions { iter => BarrierTaskContext.get().barrier() iter }.collect() {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org