spark-instrumented-optimizer/core
Marcelo Vanzin f32f16fd68 [SPARK-29082][CORE] Skip delegation token generation if no credentials are available
This situation can happen when an external system (e.g. Oozie) generates
delegation tokens for a Spark application. The Spark driver will then run
against secured services, have proper credentials (the tokens), but no
kerberos credentials. So trying to do things that requires a kerberos
credential fails.

Instead, if no kerberos credentials are detected, just skip the whole
delegation token code.

Tested with an application that simulates Oozie; fails before the fix,
passes with the fix. Also with other DT-related tests to make sure other
functionality keeps working.

Closes #25805 from vanzin/SPARK-29082.

Authored-by: Marcelo Vanzin <vanzin@cloudera.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
2019-09-18 13:30:00 -07:00
..
benchmarks [SPARK-29081][CORE] Replace calls to SerializationUtils.clone on properties with a faster implementation 2019-09-15 00:28:32 -07:00
src [SPARK-29082][CORE] Skip delegation token generation if no credentials are available 2019-09-18 13:30:00 -07:00
pom.xml [SPARK-17875][CORE][BUILD] Remove dependency on Netty 3 2019-08-21 21:27:56 -07:00