spark-instrumented-optimizer/external
Gabor Somogyi 6c178a5d16 [SPARK-30495][SS] Consider spark.security.credentials.kafka.enabled and cluster configuration when checking latest delegation token
### What changes were proposed in this pull request?
Spark SQL Kafka consumer connector considers delegation token usage even if the user configures `sasl.jaas.config` manually.

In this PR I've added `spark.security.credentials.kafka.enabled` and cluster configuration check to the condition.

### Why are the changes needed?
Now it's not possible to configure `sasl.jaas.config` manually.

### Does this PR introduce any user-facing change?
No.

### How was this patch tested?
Existing + additional unit tests.

Closes #27191 from gaborgsomogyi/SPARK-30495.

Authored-by: Gabor Somogyi <gabor.g.somogyi@gmail.com>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
2020-01-15 11:46:34 -08:00
..
avro [MINOR][TESTS] Remove unsupported header option in AvroSuite 2020-01-14 11:49:50 -08:00
docker [SPARK-28683][BUILD] Upgrade Scala to 2.12.10 2019-09-18 13:30:36 -07:00
docker-integration-tests [SPARK-28152][SQL][FOLLOWUP] Add a legacy conf for old MsSqlServerDialect numeric mapping 2020-01-12 23:03:34 -08:00
kafka-0-10 [SPARK-28144][SPARK-29294][SS][FOLLOWUP] Use SystemTime defined in Kafka Time interface 2019-12-24 11:39:03 +09:00
kafka-0-10-assembly [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
kafka-0-10-sql [SPARK-30495][SS] Consider spark.security.credentials.kafka.enabled and cluster configuration when checking latest delegation token 2020-01-15 11:46:34 -08:00
kafka-0-10-token-provider [SPARK-30495][SS] Consider spark.security.credentials.kafka.enabled and cluster configuration when checking latest delegation token 2020-01-15 11:46:34 -08:00
kinesis-asl [SPARK-30272][SQL][CORE] Remove usage of Guava that breaks in 27; replace with workalikes 2019-12-20 08:55:04 -06:00
kinesis-asl-assembly [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
spark-ganglia-lgpl [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00