Help Center> MapReduce Service> Component Operation Guide (Paris Region)> Using Hive> Common Issues About Hive> Why Hive Tables in the OBS Directory Fail to Be Deleted?
Updated on 2022-12-14 GMT+08:00

Why Hive Tables in the OBS Directory Fail to Be Deleted?

Question

In the scenario where the fine-grained permission is configured for multiple MRS users to access OBS, after the permission for deleting Hive tables in the OBS directory is added to the custom configuration of Hive, tables are deleted on the Hive client but still exist in the OBS directory.

Answer

You do not have the permission to delete directories on OBS. As a result, Hive tables cannot be deleted. In this case, modify the custom IAM policy of the agency and configure Hive with the permission for deleting tables in the OBS directory.