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

RackResolver not correctly being overridden in YARN tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.3, 2.1.1, 2.2.0
    • 2.1.2, 2.2.0
    • Spark Core, YARN
    • None

    Description

      YARN tests currently try to override YARN's RackResolver, but that class self-initializes the first time it's called, storing state in static variables and ignoring any further config params that might override the initial behavior.

      So we need a better solution for Spark tests, so that tests such as LocalityPlacementStrategySuite don't flood the DNS server with requests (making the test really slow in certain environments).

      Attachments

        Activity

          People

            vanzin Marcelo Masiero Vanzin
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: