Marcelo Vanzin created SPARK-20191:
--------------------------------------

             Summary: RackResolver not correctly being overridden in YARN tests
                 Key: SPARK-20191
                 URL: https://issues.apache.org/jira/browse/SPARK-20191
             Project: Spark
          Issue Type: Bug
          Components: YARN
    Affects Versions: 2.0.3, 2.1.1, 2.2.0
            Reporter: Marcelo Vanzin


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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to