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

Reply via email to