spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Vanzin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-23790) proxy-user failed connecting to a kerberos configured metastore
Date Mon, 26 Mar 2018 17:43:00 GMT

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

Marcelo Vanzin commented on SPARK-23790:
----------------------------------------

BTW if what you're saying is that Yuming's fix also works for the issue you're seeing, we
should probably dupe this to the other bug.

> proxy-user failed connecting to a kerberos configured metastore
> ---------------------------------------------------------------
>
>                 Key: SPARK-23790
>                 URL: https://issues.apache.org/jira/browse/SPARK-23790
>             Project: Spark
>          Issue Type: Bug
>          Components: Mesos
>    Affects Versions: 2.3.0
>            Reporter: Stavros Kontopoulos
>            Priority: Major
>
> This appeared at a customer trying to integrate with a kerberized hdfs cluster.
> This can be easily fixed with the proposed fix [here|https://github.com/apache/spark/pull/17333] and
the problem was reported first [here|https://issues.apache.org/jira/browse/SPARK-19995] for
yarn.
> The other option is to add the delegation tokens to the current user's UGI as in [here|https://github.com/apache/spark/pull/17335]
. The last fixes the problem but leads to a failure when someones uses a HadoopRDD because
the latter, uses FileInputFormat to get the splits which calls the local ticket cache by using
TokenCache.obtainTokensForNamenodes. Eventually this will fail with:
> {quote}Exception in thread "main" org.apache.hadoop.ipc.RemoteException(java.io.IOException):
Delegation Token can be issued only with kerberos or web authenticationat org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:5896)
> {quote}
> This implies that security mode is SIMPLE and hadoop libs there are not aware of kerberos.
> This is related to this issue the workaround decided was to [trick|https://github.com/apache/spark/blob/a33655348c4066d9c1d8ad2055aadfbc892ba7fd/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L795-L804]
hadoop.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message