[ https://issues.apache.org/jira/browse/HIVE-14888?focusedWorklogId=244588&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-244588 ]
ASF GitHub Bot logged work on HIVE-14888: ----------------------------------------- Author: ASF GitHub Bot Created on: 18/May/19 19:53 Start Date: 18/May/19 19:53 Worklog Time Spent: 10m Work Description: davidov541 commented on pull request #635: HIVE-14888: Fixing the check of current security mode for Spark URL: https://github.com/apache/hive/pull/635 Now uses a pre-existing function that is more general-purpose. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 244588) Time Spent: 10m Remaining Estimate: 0h (was: 5m) > 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 > 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: 10m > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)