[ 
https://issues.apache.org/jira/browse/SPARK-12312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201154#comment-17201154
 ] 

John Lonergan commented on SPARK-12312:
---------------------------------------

Yes - the driver wrapper I wrote accepted both a KT or a ticket cache.,

See the reference I gave.

If I recall correctly we provided the option of selecting either approach
of ...
UserGroupInformation.loginUserFromKeytabAndReturnUGI(principal, keytabFile)

OR
UserGroupInformation.getUGIFromTicketCache(principal, cache)

JL

On Wed, 23 Sep 2020 at 22:17, Prakash Rajendran (Jira) <j...@apache.org>



> JDBC connection to Kerberos secured databases fails on remote executors
> -----------------------------------------------------------------------
>
>                 Key: SPARK-12312
>                 URL: https://issues.apache.org/jira/browse/SPARK-12312
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.2, 2.4.2
>            Reporter: nabacg
>            Assignee: Gabor Somogyi
>            Priority: Minor
>
> When loading DataFrames from JDBC datasource with Kerberos authentication, 
> remote executors (yarn-client/cluster etc. modes) fail to establish a 
> connection due to lack of Kerberos ticket or ability to generate it. 
> This is a real issue when trying to ingest data from kerberized data sources 
> (SQL Server, Oracle) in enterprise environment where exposing simple 
> authentication access is not an option due to IT policy issues.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to