spark-instrumented-optimizer/resource-managers
Marco Gaido 3159ee085b [SPARK-24149][YARN] Retrieve all federated namespaces tokens
## What changes were proposed in this pull request?

Hadoop 3 introduces HDFS federation. This means that multiple namespaces are allowed on the same HDFS cluster. In Spark, we need to ask the delegation token for all the namenodes (for each namespace), otherwise accessing any other namespace different from the default one (for which we already fetch the delegation token) fails.

The PR adds the automatic discovery of all the namenodes related to all the namespaces available according to the configs in hdfs-site.xml.

## How was this patch tested?

manual tests in dockerized env

Author: Marco Gaido <marcogaido91@gmail.com>

Closes #21216 from mgaido91/SPARK-24149.
2018-05-18 13:04:00 -07:00
..
kubernetes [SPARK-24137][K8S] Mount local directories as empty dir volumes. 2018-05-10 11:36:41 -07:00
mesos [SPARK-23941][MESOS] Mesos task failed on specific spark app name 2018-05-01 08:28:21 -07:00
yarn [SPARK-24149][YARN] Retrieve all federated namespaces tokens 2018-05-18 13:04:00 -07:00