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

Spark Yarn ResourceRequestHelper shouldn't lookup setResourceInformation is no resources specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Spark Core, YARN
    • None

    Description

      in the Spark Yarn ResourceRequestHelper it uses reflection to lookup setResourceInformation. We should skip that lookup if the resource Map is empty.

      https://github.com/apache/spark/blob/master/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ResourceRequestHelper.scala#L154

       

      Attachments

        Issue Links

          Activity

            People

              abellina Alessandro Bellina
              tgraves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: