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 2019/06/01 04:25:20 UTC

[jira] [Work logged] (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?focusedWorklogId=252329&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-252329 ]

ASF GitHub Bot logged work on HIVE-14888:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Jun/19 04:24
            Start Date: 01/Jun/19 04:24
    Worklog Time Spent: 10m 
      Work Description: davidov541 commented on issue #635: HIVE-14888: Fixing the check of current security mode for Spark
URL: https://github.com/apache/hive/pull/635#issuecomment-497911329
 
 
   ReviewBoard: https://reviews.apache.org/r/70718/
   JIRA: https://issues.apache.org/jira/browse/HIVE-14888
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 252329)
    Time Spent: 20m  (was: 10m)

> 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: 4.0.0
>
>         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: 20m
>  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
(v7.6.3#76005)