You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2022/11/08 09:21:00 UTC
[jira] [Commented] (HIVE-26707) Iceberg: Write failing due to Ranger Authorization failure
[ https://issues.apache.org/jira/browse/HIVE-26707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17630299#comment-17630299 ]
Ayush Saxena commented on HIVE-26707:
-------------------------------------
Committed to master.
Thanx [~szita] and [~cnauroth] for the reviews!!!
> 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)