Impala Public Jenkins has submitted this change and it was merged. Change subject: IMPALA-1470: Fix error message with catalog down ......................................................................
IMPALA-1470: Fix error message with catalog down When the catalog server cannot be reached, currently impala client would report a NullpointerException to shell with no context. The improved error message with this patch is: > ERROR: InternalException: Error requesting prioritized load: Couldn't open transport for localhost:26000 (connect() failed: Connection refused) > Error making an RPC call to Catalog server. The bug is when the client gets an RPC error, it tries to box the error into a field of a Thrift struct but does not set the optional field to be present. This patch makes the status field in TPrioritizeLoadResponse required. Change-Id: Ic695faf89b146bdaa145aaca87f85579137b67c5 Reviewed-on: http://gerrit.cloudera.org:8080/7539 Reviewed-by: Tim Armstrong <[email protected]> Tested-by: Impala Public Jenkins --- M be/src/service/fe-support.cc M common/thrift/CatalogService.thrift 2 files changed, 2 insertions(+), 4 deletions(-) Approvals: Impala Public Jenkins: Verified Tim Armstrong: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/7539 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic695faf89b146bdaa145aaca87f85579137b67c5 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tianyi Wang <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tianyi Wang <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
