spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabor Somogyi (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-31337) Support MS Sql Kerberos login in JDBC connector
Date Mon, 25 May 2020 08:54:00 GMT

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

Gabor Somogyi commented on SPARK-31337:
---------------------------------------

[~GeetBhalshankar] security is super sensitive area and without having any logs and knowing
the exact setup hard to say anything for sure though I can share where I've struggled the
most. The exception means that somehow the credentials are not valid. There could be several
reasons but considering the fact you've shared (connecting when I ran spark job in local mode)
I think the problem may be the following. Assuming you're using keytab for authentication
maybe the keytab file is not available on each node of the cluster. Either --files or scp
can be used on every node. If this doesn't help one can turn on kerberos debugging in the
following way: https://github.com/apache/spark/blob/7f36310500a7ab6e80cc1b1e6c764ae7b9657758/core/src/main/scala/org/apache/spark/util/SecurityUtils.scala#L28-L42
It's a bit cryptic at the first try but one can get used to that. Have fun...

> Support MS Sql Kerberos login in JDBC connector
> -----------------------------------------------
>
>                 Key: SPARK-31337
>                 URL: https://issues.apache.org/jira/browse/SPARK-31337
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Gabor Somogyi
>            Priority: Major
>




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

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


Mime
View raw message