Tianyi Wang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10792
Change subject: IMPALA-3040: Remove cache directive before dropping a table ...................................................................... IMPALA-3040: Remove cache directive before dropping a table One way to hit IMPALA-3040 is to drop a table while the catalog is loading it. If the HDFS files of a partition are removed when the partition is being loaded, the catalog object will be in an inconsistent state and the catalog will fail to recognize some cached partitions and not remove the cache directives. This patch removes the cache directives first to avoid this race condition. Change-Id: Id7701a499405e961456adea63f3592b43bd69170 --- M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java 1 file changed, 7 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/10792/1 -- To view, visit http://gerrit.cloudera.org:8080/10792 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id7701a499405e961456adea63f3592b43bd69170 Gerrit-Change-Number: 10792 Gerrit-PatchSet: 1 Gerrit-Owner: Tianyi Wang <tw...@cloudera.com>