[
https://issues.apache.org/jira/browse/SPARK-19250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827320#comment-15827320
]
meiyoula commented on SPARK-19250:
----------------------------------
[~rxin] I think you may understand this bug.
I find u set hive.metastore.uris=“” to thriftsever.hiveConf in commit
https://github.com/apache/spark/commit/054f991c4350af1350af7a4109ee77f4a34822f0#diff-709404b0d3defeff035ef0c4f5a960e5.
But when it set to local metastore, beeline openSession will not obtain token
and connect remote metastore will failed.
Can u have a look and give som ideas? Thanks!
> In security cluster, spark beeline connect to hive metastore failed
> -------------------------------------------------------------------
>
> Key: SPARK-19250
> URL: https://issues.apache.org/jira/browse/SPARK-19250
> Project: Spark
> Issue Type: Bug
> Reporter: meiyoula
> Labels: security-issue
>
> 1. starting thriftserver in security mode, set hive.metastore.uris to hive
> metastore uri, also hive is in security mode.
> 2. when use beeline to create table, it can't connect to hive metastore
> successfully, occurs "Failed to find any Kerberos tgt".
> Reason:
> When open hivemetastore client, first check if has token, because the
> hive.metastore.uris has been set to local, so it don't obtain token; secondly
> use tgt to auth, but current user is a proxyuser. So open metastore client
> failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]