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

Brahma Reddy Battula edited comment on HIVE-25381 at 7/26/21, 6:40 AM:
-----------------------------------------------------------------------

I guess, you need to configure the owner(hive.load.data.owner) of the loaded 
files to a user who create the table to mitigate this.


was (Author: brahmareddy):
I guess, you need to configure the owner of the loaded files to a user who 
create the table to mitigate this.

> Hive impersonation Failed when load data of managed tables set as hive
> ----------------------------------------------------------------------
>
>                 Key: HIVE-25381
>                 URL: https://issues.apache.org/jira/browse/HIVE-25381
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ranith Sardar
>            Assignee: Ranith Sardar
>            Priority: Minor
>             Fix For: 3.1.0, 4.0.0
>
>
> When hive.server2.enable.doAs = True and setting hive as the default value 
> for "hive.load.data.owner" property, this will cause below logic(in 
> Hive.java-needToCopy{color:#24292e}({color}))  to fail always as the 
> framework is validating the owner of the file against the value which we set 
> in the property hive.load.data.owner.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to