spark-instrumented-optimizer/resource-managers/kubernetes
Marcelo Vanzin 68dde3481e [SPARK-23781][CORE] Merge token renewer functionality into HadoopDelegationTokenManager.
This avoids having two classes to deal with tokens; now the above
class is a one-stop shop for dealing with delegation tokens. The
YARN backend extends that class instead of doing composition like
before, resulting in a bit less code there too.

The renewer functionality is basically the same code that used to
be in YARN's AMCredentialRenewer. That is also the reason why the
public API of HadoopDelegationTokenManager is a little bit odd;
the YARN AM has some odd requirements for how this all should be
initialized, and the weirdness is needed currently to support that.

Tested:
- YARN with stress app for DT renewal
- Mesos and K8S with basic kerberos tests (both tgt and keytab)

Closes #22624 from vanzin/SPARK-23781.

Authored-by: Marcelo Vanzin <vanzin@cloudera.com>
Signed-off-by: Imran Rashid <irashid@cloudera.com>
2018-10-31 13:00:10 -05:00
..
core [SPARK-23781][CORE] Merge token renewer functionality into HadoopDelegationTokenManager. 2018-10-31 13:00:10 -05:00
docker/src/main/dockerfiles/spark [SPARK-25682][K8S] Package example jars in same target for dev and distro images. 2018-10-18 10:21:37 -07:00
integration-tests [SPARK-24434][K8S] pod template files 2018-10-30 13:52:44 -07:00