Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24581

Design: BarrierTaskContext.barrier()

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • None
    • ML, Spark Core
    • None

    Description

      We need to provide a communication barrier function to users to help coordinate tasks within a barrier stage. This is very similar to MPI_Barrier function in MPI. This story is for its design.

       

      Requirements:

      • Low-latency. The tasks should be unblocked soon after all tasks have reached this barrier. The latency is more important than CPU cycles here.
      • Support unlimited timeout with proper logging. For DL tasks, it might take very long to converge, we should support unlimited timeout with proper logging. So users know why a task is waiting.

      Attachments

        Activity

          People

            jiangxb1987 Xingbo Jiang
            mengxr Xiangrui Meng
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: