[ 
https://issues.apache.org/jira/browse/SPARK-19250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

meiyoula updated SPARK-19250:
-----------------------------
    Description: 
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.

  was:1. starting thriftserver in security mode, set hive.metastore.uris to 
hive metastore uri, also hive is in security mode.


> 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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to