Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For a kafka table, it can be pointed to a external unsecured Kafka cluster even hive is running in a secured cluster. In this case, tez will try to collect kafka delegation tokens, but failed with error messages as following.
java.lang.RuntimeException: Exception while getting kafka delegation tokens
at
...
Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.IllegalSaslStateException: Unexpected handshake request with client mechanism GSSAPI, enabled mechanisms are []
To resolve this issue, we can skip collecting kafka delegation tokens if "kafka.consumer.security.protocol" or "kafka.producer.security.protocol" is set to "PLAINTEXT" in tblproperties.
Attachments
Issue Links
- links to