xhuyvn commented on issue #10222:
URL: https://github.com/apache/iceberg/issues/10222#issuecomment-2462560292

   > Hi, have you found the solution yet? i have the same problem when using 
hive 4.0 with minio:
   > 
   > pyspark.errors.exceptions.captured.AnalysisException: 
org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Failed 
to create external path s3a://wba/warehouse/wba.db for database wba. This may 
result in access not being allowed if the StorageBasedAuthorizationProvider is 
enabled: null)
   
   I had the same issue and solved by add this config in metastore-site.yml
   
   `<property>
      <name>hive.metastore.pre.event.listeners</name>
      
<name>org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener</name>
   </property>
   <property>
      <name>hive.security.metastore.authorization.manager</name>
      
<value>org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider</value>
   </property>`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to