aboutsummaryrefslogtreecommitdiff
path: root/repl/src
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2017-04-04 11:38:05 -0700
committerMarcelo Vanzin <vanzin@cloudera.com>2017-04-04 11:38:05 -0700
commit0736980f395f114faccbd58e78280ca63ed289c7 (patch)
tree0b5e3a8322ac7bbf6fcd1e0badc7cbba8a144997 /repl/src
parent11238d4c62961c03376d9b2899221ec74313363a (diff)
downloadspark-0736980f395f114faccbd58e78280ca63ed289c7.tar.gz
spark-0736980f395f114faccbd58e78280ca63ed289c7.tar.bz2
spark-0736980f395f114faccbd58e78280ca63ed289c7.zip
[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.
Diffstat (limited to 'repl/src')
0 files changed, 0 insertions, 0 deletions