hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-21331) Metastore should throw exception back if it is not able to delete the folder
Date Wed, 27 Feb 2019 11:57:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-21331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajesh Balamohan reassigned HIVE-21331:
---------------------------------------

    Assignee: Rajesh Balamohan

> 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
>            Assignee: Rajesh Balamohan
>            Priority: Trivial
>
> [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)

Mime
View raw message