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

Add Utils.isAtExecutor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • Spark Core
    • None

    Description

      There is currently no single call to see if we're on Executor (or Driver). TaskContext.get == null is being used for that way. We should better explicitly factor out to Utils.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: