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)

Reply via email to