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

    https://github.com/apache/spark/pull/21758#discussion_r205660610
  
    --- Diff: core/src/main/scala/org/apache/spark/rdd/RDD.scala ---
    @@ -1647,6 +1647,14 @@ abstract class RDD[T: ClassTag](
         }
       }
     
    +  /**
    +   * :: Experimental ::
    +   * Indicates that Spark must launch the tasks together for the current 
stage.
    +   */
    +  @Experimental
    +  @Since("2.4.0")
    +  def barrier(): RDDBarrier[T] = withScope(new RDDBarrier[T](this))
    --- End diff --
    
    I opened https://issues.apache.org/jira/browse/SPARK-24941 for this.


---

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

Reply via email to