You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sourabh Badhya (Jira)" <ji...@apache.org> on 2024/08/30 15:33:00 UTC
[jira] [Commented] (HIVE-28482) Iceberg: CTAS, CTLT query failure while fetching URI for authorization
[ https://issues.apache.org/jira/browse/HIVE-28482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878161#comment-17878161 ]
Sourabh Badhya commented on HIVE-28482:
---------------------------------------
Merged to master.
Thanks [~dkuzmenko] for the reviews.
> Iceberg: CTAS, CTLT query failure while fetching URI for authorization
> ----------------------------------------------------------------------
>
> Key: HIVE-28482
> URL: https://issues.apache.org/jira/browse/HIVE-28482
> Project: Hive
> Issue Type: Bug
> Reporter: Sourabh Badhya
> Assignee: Sourabh Badhya
> Priority: Major
> Labels: pull-request-available
>
> When we perform CTAS query with the following configs set to true -
> {code:java}
> set hive.security.authorization.enabled=true;
> set hive.security.authorization.tables.on.storagehandlers=true;
> create table ctas_source stored by iceberg stored as orc as select * from src;{code}
> The following error trace is seen -
> {code:java}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Exception occurred while getting the URI from storage handler: null
> at org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.addHivePrivObject(CommandAuthorizerV2.java:213)
> at org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.getHivePrivObjects(CommandAuthorizerV2.java:152)
> at org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizerV2.doAuthorization(CommandAuthorizerV2.java:77)
> at org.apache.hadoop.hive.ql.security.authorization.command.CommandAuthorizer.doAuthorization(CommandAuthorizer.java:58)
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)