Yu-Wen Lai created HIVE-26439: --------------------------------- Summary: Skip collecting Kafka delegation tokens if PLAINTEXT is set Key: HIVE-26439 URL: https://issues.apache.org/jira/browse/HIVE-26439 Project: Hive Issue Type: Improvement Reporter: Yu-Wen Lai Assignee: Yu-Wen Lai
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. {code:java} 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 [] {code} 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)