You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Shohei Okumiya (Jira)" <ji...@apache.org> on 2025/04/14 06:36:00 UTC
[jira] [Updated] (HIVE-14888) SparkClientImpl checks for "kerberos" string in hiveconf only when determining whether to use keytab file.
[ https://issues.apache.org/jira/browse/HIVE-14888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shohei Okumiya updated HIVE-14888:
----------------------------------
Fix Version/s: NA
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
We have discontinued Hive on Spark and EoLed Hive 3. HIVE-26134
> SparkClientImpl checks for "kerberos" string in hiveconf only when determining whether to use keytab file.
> ----------------------------------------------------------------------------------------------------------
>
> Key: HIVE-14888
> URL: https://issues.apache.org/jira/browse/HIVE-14888
> Project: Hive
> Issue Type: Bug
> Components: Spark
> Affects Versions: 2.1.0
> Reporter: Thomas Rega
> Assignee: David McGinnis
> Priority: Major
> Labels: pull-request-available
> Fix For: NA
>
> Attachments: HIVE-14888.1-spark.patch, HIVE-14888.2.patch, HIVE-14888.3.patch, HIVE-14888.4.patch, HIVE-14888.5.patch
>
> Original Estimate: 5m
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The SparkClientImpl will only provide a principal and keytab argument if the HADOOP_SECURITY_AUTHENTICATION in hive conf is set to "kerberos". This will not work on clusters with Hadoop security enabled that are not configured as "kerberos", for example, a cluster which is configured for "ldap".
> The solution is to call UserGroupInformation.isSecurityEnabled() instead.
>
> Code Review: [https://reviews.apache.org/r/70718/]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)