Ngone51 commented on a change in pull request #29228:
URL: https://github.com/apache/spark/pull/29228#discussion_r474417248
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -2255,7 +2259,8 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
val shuffleDep = new ShuffleDependency(rdd1, new HashPartitioner(1))
val narrowDep = new OneToOneDependency(rdd2)
val shuffleId = shuffleDep.shuffleId
- val reduceRdd = new MyRDD(sc, 1, List(shuffleDep, narrowDep), tracker =
mapOutputTracker)
+ val reduceRdd =
+ new MyRDD(sc, 1, List(shuffleDep, narrowDep), tracker = mapOutputTracker)
Review comment:
ditto
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -2851,11 +2856,13 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
val shuffleDep1 = new ShuffleDependency(shuffleMapRdd1, new
HashPartitioner(2))
val shuffleId1 = shuffleDep1.shuffleId
- val shuffleMapRdd2 = new MyRDD(sc, 2, List(shuffleDep1), tracker =
mapOutputTracker)
+ val shuffleMapRdd2 =
+ new MyRDD(sc, 2, List(shuffleDep1), tracker = mapOutputTracker)
Review comment:
ditto
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -2851,11 +2856,13 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
val shuffleDep1 = new ShuffleDependency(shuffleMapRdd1, new
HashPartitioner(2))
val shuffleId1 = shuffleDep1.shuffleId
- val shuffleMapRdd2 = new MyRDD(sc, 2, List(shuffleDep1), tracker =
mapOutputTracker)
+ val shuffleMapRdd2 =
+ new MyRDD(sc, 2, List(shuffleDep1), tracker = mapOutputTracker)
val shuffleDep2 = new ShuffleDependency(shuffleMapRdd2, new
HashPartitioner(2))
val shuffleId2 = shuffleDep2.shuffleId
- val finalRdd = new MyRDD(sc, 2, List(shuffleDep2), tracker =
mapOutputTracker)
+ val finalRdd =
+ new MyRDD(sc, 2, List(shuffleDep2), tracker = mapOutputTracker)
Review comment:
ditto
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -3198,7 +3201,8 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
val treqs2 = new TaskResourceRequests().cpus(2)
val rp2 = new
ResourceProfileBuilder().require(ereqs2).require(treqs2).build
- val rdd = sc.parallelize(1 to 10).withResources(rp1).map(x => (x,
x)).withResources(rp2)
+ val rdd =
+ sc.parallelize(1 to 10).withResources(rp1).map(x => (x,
x)).withResources(rp2)
Review comment:
ditto
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/DAGSchedulerSuite.scala
##########
@@ -3221,18 +3222,16 @@ class DAGSchedulerSuite extends SparkFunSuite with
LocalSparkContext with TimeLi
val treqs2 = new TaskResourceRequests().cpus(2)
val rp2 = new
ResourceProfileBuilder().require(ereqs2).require(treqs2).build
- val rdd = sc.parallelize(1 to 10).withResources(rp1).map(x => (x,
x)).withResources(rp2)
+ val rdd =
+ sc.parallelize(1 to 10).withResources(rp1).map(x => (x,
x)).withResources(rp2)
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]