diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2016-03-07 14:13:44 -0800 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2016-03-07 14:13:44 -0800 |
commit | e1fb857992074164dcaa02498c5a9604fac6f57e (patch) | |
tree | 5f2a9de0230df4ebd0ca7317c879472eb8d3fbbc /dev/.rat-excludes | |
parent | e9e67b39abb23a88d8be2d0fea5b5fd93184a25b (diff) | |
download | spark-e1fb857992074164dcaa02498c5a9604fac6f57e.tar.gz spark-e1fb857992074164dcaa02498c5a9604fac6f57e.tar.bz2 spark-e1fb857992074164dcaa02498c5a9604fac6f57e.zip |
[SPARK-529][CORE][YARN] Add type-safe config keys to SparkConf.
This is, in a way, the basics to enable SPARK-529 (which was closed as
won't fix but I think is still valuable). In fact, Spark SQL created
something for that, and this change basically factors out that code
and inserts it into SparkConf, with some extra bells and whistles.
To showcase the usage of this pattern, I modified the YARN backend
to use the new config keys (defined in the new `config` package object
under `o.a.s.deploy.yarn`). Most of the changes are mechanic, although
logic had to be slightly modified in a handful of places.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #10205 from vanzin/conf-opts.
Diffstat (limited to 'dev/.rat-excludes')
0 files changed, 0 insertions, 0 deletions