spark-instrumented-optimizer/resource-managers
Marcelo Vanzin 0736980f39 [SPARK-20191][YARN] Crate wrapper for RackResolver so tests can override it.
Current test code tries to override the RackResolver used by setting
configuration params, but because YARN libs statically initialize the
resolver the first time it's used, that means that those configs don't
really take effect during Spark tests.

This change adds a wrapper class that easily allows tests to override the
behavior of the resolver for the Spark code that uses it.

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #17508 from vanzin/SPARK-20191.
2017-04-04 11:38:05 -07:00
..
mesos [SPARK-20078][MESOS] Mesos executor configurability for task name and labels 2017-03-25 10:42:15 +00:00
yarn [SPARK-20191][YARN] Crate wrapper for RackResolver so tests can override it. 2017-04-04 11:38:05 -07:00