Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2518

DROP DATABASE CASCADE does not remove cache directives of tables

    Details

      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)

        Attachments

          Activity

            People

            • Assignee:
              dtsirogiannis Dimitris Tsirogiannis
              Reporter:
              dtsirogiannis Dimitris Tsirogiannis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: