[
https://issues.apache.org/jira/browse/HIVE-26439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng resolved HIVE-26439.
--------------------------------
Fix Version/s: 4.0.0
4.0.0-alpha-2
Resolution: Fixed
Merged into master. Thank you [~hsnusonic] for the contribution and
[~abstractdog] for the review!
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0, 4.0.0-alpha-2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)