Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.2.4
Description
Executing a DROP DATABASE statement with the CASCADE option does not clear the cache directives associated with the cached tables that are contained in the dropped database.
To reproduce:
impala> create database foo; impala> use foo; impala>create table t1 (a int) cached in 'testPool' with replication = 8; shell> hdfs cacheadmin -listDirectives impala> use default; impala> drop database foo cascade; shell> hdfs cachedmin -listDirectives <-- the output contains the directive associated with the path of table t1
This has been breaking impala-cdh5.5.x-repeated-runs (https://issues.cloudera.org/browse/IMPALA-2510)