[ 
https://issues.apache.org/jira/browse/HIVE-26707?focusedWorklogId=824161&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-824161
 ]

ASF GitHub Bot logged work on HIVE-26707:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Nov/22 09:19
            Start Date: 08/Nov/22 09:19
    Worklog Time Spent: 10m 
      Work Description: ayushtkn merged PR #3731:
URL: https://github.com/apache/hive/pull/3731




Issue Time Tracking
-------------------

    Worklog Id:     (was: 824161)
    Time Spent: 1h  (was: 50m)

> Iceberg: Write failing due to Ranger Authorization failure
> ----------------------------------------------------------
>
>                 Key: HIVE-26707
>                 URL: https://issues.apache.org/jira/browse/HIVE-26707
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {noformat}
> Caused by: java.lang.RuntimeException: MetaException(message:Permission 
> denied: user [systest] does not have [RWSTORAGE] privilege on 
> [iceberg%3A%2F%2Fspark_iceberg%2Fsimple_types_avro%3Fsnapshot%3D%2Fwarehouse%2Ftablespace%2Fexternal%2Fhive%2Fspark_iceberg.db%2Fsimple_types_avro%2Fmetadata%2F00000-50dd01bd-15d9-49bd-a970-80d89231d36c.metadata.json])
>       at 
> org.apache.iceberg.relocated.com.google.common.base.Throwables.propagate(Throwables.java:243)
>       at 
> org.apache.iceberg.common.DynMethods$UnboundMethod.invoke(DynMethods.java:80)
>       at 
> org.apache.iceberg.hive.MetastoreUtil.alterTable(MetastoreUtil.java:64)
>       at 
> org.apache.iceberg.hive.HiveTableOperations.lambda$persistTable$3(HiveTableOperations.java:322)
>       at org.apache.iceberg.ClientPoolImpl.run(ClientPoolImpl.java:58)
>       at org.apache.iceberg.ClientPoolImpl.run(ClientPoolImpl.java:51)
>       at 
> org.apache.iceberg.hive.CachedClientPool.run(CachedClientPool.java:76)
>       at 
> org.apache.iceberg.hive.HiveTableOperations.persistTable(HiveTableOperations.java:321)
>       at 
> org.apache.iceberg.hive.HiveTableOperations.doCommit(HiveTableOperations.java:277)
>       ... 36 more
> Caused by: MetaException(message:Permission denied: user [systest] does not 
> have [RWSTORAGE] privilege on 
> [iceberg%3A%2F%2Fspark_iceberg%2Fsimple_types_avro%3Fsnapshot%3D%2Fwarehouse%2Ftablespace%2Fexternal%2Fhive%2Fspark_iceberg.db%2Fsimple_types_avro%2Fmetadata%2F00000-50dd01bd-15d9-49bd-a970-80d89231d36c.metadata.json])
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$alter_table_req_result$alter_table_req_resultStandardScheme.read(ThriftHiveMetastore.java)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$alter_table_req_result$alter_table_req_resultStandardScheme.read(ThriftHiveMetastore.java)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$alter_table_req_result.read(ThriftHiveMetastore.java)
>       at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:88)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_alter_table_req(ThriftHiveMetastore.java:2978)
>       at 
> org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.alter_table_req(ThriftHiveMetastore.java:2965)
>       at 
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_table_with_environmentContext(HiveMetaStoreClient.java:482)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to