You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shawn Lavelle (Jira)" <ji...@apache.org> on 2024/04/24 02:42:00 UTC
[jira] [Comment Edited] (SPARK-33826) InsertIntoHiveTable generate HDFS file with invalid user
[ https://issues.apache.org/jira/browse/SPARK-33826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17840268#comment-17840268 ]
Shawn Lavelle edited comment on SPARK-33826 at 4/24/24 2:41 AM:
----------------------------------------------------------------
[~angerszhuuu] RIK - Replacement In Kind. The ODBC / Hive Proxy User should have remained. I use it in a custom data source to avoid elevate permissions violations. Will your PR restore that? I hope to test it out in a few days here.
was (Author: azeroth2b):
[~angerszhuuu] RIK - Replacement In Kind. The ODBC / Hive Proxy User should have remained accessible from a data source. Will your PR restore that? I hope to test it out in a few days here.
> InsertIntoHiveTable generate HDFS file with invalid user
> --------------------------------------------------------
>
> Key: SPARK-33826
> URL: https://issues.apache.org/jira/browse/SPARK-33826
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.3.2, 3.0.0
> Reporter: Zhang Jianguo
> Priority: Minor
>
> *Arch:* Hive on Spark.
>
> *Version:* Spark 2.3.2
>
> *Conf:*
> Enable user impersonation
> hive.server2.enable.doAs=true
>
> *Scenario:*
> Thriftserver is running with loginUser A, and Task run as User A too.
> Client execute SQL with user B
>
> Data generated by sql "insert into TABLE \[tbl\] select XXX form XXXX." is written to HDFS on executor, executor doesn't know B.
>
> *{color:#de350b}So the user file written to HDFS will be user A which should be B.{color}*
>
> I also check the inplementation of Spark 3.0.0, It could have the same issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org