You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/03/22 13:24:41 UTC

[jira] [Assigned] (SPARK-20060) Spark On Non-Yarn Mode with Kerberized HDFS ProxyUser Fails Talking to Hive MetaStore

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

Apache Spark reassigned SPARK-20060:
------------------------------------

    Assignee: Apache Spark

> Spark On Non-Yarn Mode with Kerberized HDFS ProxyUser Fails Talking to Hive MetaStore 
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-20060
>                 URL: https://issues.apache.org/jira/browse/SPARK-20060
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy, Spark Submit
>    Affects Versions: 2.2.0
>            Reporter: Kent Yao
>            Assignee: Apache Spark
>
> For **Spark on non-Yarn** mode on a  kerberized hdfs, we don't obtain credentials from hive metastore, hdfs, etc and just use the local kinited user to connecting them. But if we specify the --proxy-user argument on non-yarn mode, such as local, standalone, after we simply use `UGI.createProxyUser` to get a proxy ugi as the effective user and wrap the code in doAs, the proxy ugi fails to talk to hive metastore cause by no crendentials. Thus, we need to obtain credentials via the real user and add them to the proxy ugi.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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