Github user squito commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8180#discussion_r37678367
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1973,6 +1973,24 @@ class SparkContext(config: SparkConf) extends 
Logging with ExecutorAllocationCli
       }
     
       /**
    +   * Submit a map stage for execution. This is currently an internal API 
only, but might be
    +   * promoted to DeveloperApi in the future.
    +   */
    +  private[spark] def submitMapStage[K, V, C](dependency: 
ShuffleDependency[K, V, C])
    +      : SimpleFutureAction[MapOutputStatistics] = {
    +    assertNotStopped()
    +    val callSite = getCallSite()
    +    val waiter = dagScheduler.submitMapStage(
    +      dependency,
    +      callSite,
    +      localProperties.get)
    +    new SimpleFutureAction(waiter, env.mapOutputTracker.getStatistics(
    +      dependency.shuffleId, dependency.partitioner.numPartitions))
    +  }
    +
    +
    +
    --- End diff --
    
    nit: too many spaces


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to