You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2019/02/27 10:19:00 UTC

[jira] [Created] (HIVE-21331) Metastore should throw exception back if it is not able to delete the folder

Rajesh Balamohan created HIVE-21331:
---------------------------------------

             Summary: Metastore should throw exception back if it is not able to delete the folder
                 Key: HIVE-21331
                 URL: https://issues.apache.org/jira/browse/HIVE-21331
             Project: Hive
          Issue Type: Improvement
          Components: Metastore
            Reporter: Rajesh Balamohan


[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L2678]

 

In one of the cases, table got deleted from HMS, but the data was not deleted. On looking at the issue, `deleteDir` is not throwing the exception back.  Real exception gets logged (in this case it was user quota limit exceeeded exception), but the managed table gets dropped without deleting the data.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)