Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13186 )

Change subject: IMPALA-8455: Gracefully handle failed loads in GET_TABLES req
......................................................................

IMPALA-8455: Gracefully handle failed loads in GET_TABLES req

Some HS2 clients (like Hue) rely on the GET_TABLES request to
populate table meta information. In local catalog mode, for any
table loading failures, this call throws a cryptic exception
that the callers do not expect.

The original ImpaladCatalog implementation gracefully handled this
by silently ignoring such tables. This patch replicates that
behavior in LocalCatalog mode.

Testing: Added a unit test that consistently fails without the patch.

Change-Id: I89cc2c585aa83a9aea5343f0d0383ba72bafd618
Reviewed-on: http://gerrit.cloudera.org:8080/13186
Reviewed-by: Bharath Vissapragada <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M fe/src/main/java/org/apache/impala/catalog/FeCatalog.java
M fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java
M fe/src/main/java/org/apache/impala/service/MetadataOp.java
M fe/src/test/java/org/apache/impala/catalog/local/LocalCatalogTest.java
4 files changed, 42 insertions(+), 3 deletions(-)

Approvals:
  Bharath Vissapragada: Looks good to me, approved
  Impala Public Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/13186
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I89cc2c585aa83a9aea5343f0d0383ba72bafd618
Gerrit-Change-Number: 13186
Gerrit-PatchSet: 3
Gerrit-Owner: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to