Michael Smith has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22738
Change subject: IMPALA-915: Cancel catalog ops for queries ...................................................................... IMPALA-915: Cancel catalog ops for queries Adds support to cancel metadata operations with catalogd by sending a Cancel request to catalogd for the relevant query ID. Registers Java Threads executing select catalog operations by their query ID. UserCancelledException is implemented as a RuntimeException for the moment because exception propagation requires a lot of updates; this is similar to LocalCatalogException, and both should be cleaned up. Retries piggybacked queries that fail because the catalog load was interrupted. Testing: - added local catalog mode tests for interrupting metadata operations Change-Id: Iab22855bd2d63b64da008b52aa33230a6f422537 --- M be/src/catalog/catalog-server.cc M be/src/catalog/catalog-service-client-wrapper.h M be/src/catalog/catalog.cc M be/src/catalog/catalog.h M be/src/exec/catalog-op-executor.cc M be/src/exec/catalog-op-executor.h M be/src/service/client-request-state.cc M be/src/service/fe-support.cc M common/thrift/CatalogService.thrift M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/org/apache/impala/catalog/FeCatalog.java M fe/src/main/java/org/apache/impala/catalog/ImpaladCatalog.java M fe/src/main/java/org/apache/impala/catalog/ParallelFileMetadataLoader.java M fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java M fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java M fe/src/main/java/org/apache/impala/catalog/local/MetaProvider.java M fe/src/main/java/org/apache/impala/common/UserCancelledException.java M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M fe/src/main/java/org/apache/impala/service/JniCatalog.java 19 files changed, 163 insertions(+), 25 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/22738/1 -- To view, visit http://gerrit.cloudera.org:8080/22738 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iab22855bd2d63b64da008b52aa33230a6f422537 Gerrit-Change-Number: 22738 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Smith <michael.sm...@cloudera.com>