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

Prasanth Jayachandran edited comment on HIVE-21254 at 2/13/19 7:57 PM:
-----------------------------------------------------------------------

Also how does compactor know the table user, if it cannot do getTable() to get 
location and find user? (getTable() throws ACL exception if hive user does not 
have read access to end user location)


was (Author: prasanth_j):
Also how does compactor know the table user if it cannot do getTable() to get 
location and find user? getTable() throws ACL exception if hive user does not 
have read access to end user location.

> Pre-upgrade tool should handle exceptions and skip db/tables
> ------------------------------------------------------------
>
>                 Key: HIVE-21254
>                 URL: https://issues.apache.org/jira/browse/HIVE-21254
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 4.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-21254.1.patch, HIVE-21254.2.patch, 
> HIVE-21254.3.patch, HIVE-21254.4.patch
>
>
> When exceptions like AccessControlException is thrown, pre-upgrade tool 
> fails. If hive user does not have read access to database or tables (some 
> external tables denies read access to hive), pre-upgrade tool should just 
> assume they are external tables and move on without failing pre-upgrade 
> process. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to