cloud-fan commented on a change in pull request #24100: [SPARK-27164]
RDD.countApprox on empty RDDs schedules jobs which never complete
URL: https://github.com/apache/spark/pull/24100#discussion_r265974930
##########
File path: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
##########
@@ -1239,6 +1239,9 @@ private[spark] class DAGScheduler(
markMapStageJobsAsFinished(stage)
case stage : ResultStage =>
logDebug(s"Stage ${stage} is actually done; (partitions:
${stage.numPartitions})")
Review comment:
I mean, does `RDD#count` have the same bug when rdd is empty? I think it
doesn't but I'm trying to understand why it's an issue only for approximate
jobs.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]