Namespace deletion should clean up the hive tables before dropping the hive database.
Description
Release Notes
None
relates to
Activity
Show:
NitinM June 9, 2020 at 1:30 AM
Closing issues that haven't been updated for more than 2 years.
Ali Anwar June 27, 2017 at 10:55 PM
Deleting the CDAP datasets should delete the corresponding hive tables, but if there is an error when deleting the hive table, the dataset can be removed, while the hive tables remain. This inconsistency is causing the issue.
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Bhooshan Mogal
Bhooshan MogalReporter
Yaojie Feng
Yaojie FengAffects versions
Components
Priority
Created June 27, 2017 at 10:23 PM
Updated June 9, 2020 at 1:30 AM
Resolved June 9, 2020 at 1:30 AM
Now, if some previous errors happen on hive when we delete the namespace and some hive tables are left, the next time the delete call will try to drop the database directly instead of dropping the tables first, which results in InvalidOperationException(message:Database <database_name> is not empty. One or more tables exist.).