You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/31 23:38:00 UTC
[jira] [Updated] (HIVE-26439) Skip collecting Kafka delegation tokens if PLAINTEXT is set
[ https://issues.apache.org/jira/browse/HIVE-26439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-26439:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Time Spent: 10m
> 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)