You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/02/08 08:51:00 UTC

[jira] [Commented] (SPARK-26815) run command "Spark-shell --proxy-user " failed in kerberos environment

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

Dongjoon Hyun commented on SPARK-26815:
---------------------------------------

Hi, [~KaiXinXIaoLei].

Did you do `kinit` properly for HMS connection?

> run command "Spark-shell --proxy-user " failed in kerberos environment
> ----------------------------------------------------------------------
>
>                 Key: SPARK-26815
>                 URL: https://issues.apache.org/jira/browse/SPARK-26815
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: KaiXinXIaoLei
>            Priority: Major
>         Attachments: spark-shell-error.png
>
>
> I run "spark-shell --proxy-user hdfs" in kerberos environment, and run "spark.sql(show tables)', there is a error:
> `Caused by: org.apache.hadoop.hive.metastore.api.MetaException: Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: GSS initiate failed
>  at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
>  at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316)
>  at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
>  at org.apache.hadoop.hive.thrift.cli`



--
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