impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tianyi Wang (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-1470: Fix error message with catalog down
Date Mon, 31 Jul 2017 20:13:11 GMT
Tianyi Wang has uploaded a new patch set (#2).

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.

Change-Id: Ic695faf89b146bdaa145aaca87f85579137b67c5
---
M be/src/service/fe-support.cc
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/39/7539/2
-- 
To view, visit http://gerrit.cloudera.org:8080/7539
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic695faf89b146bdaa145aaca87f85579137b67c5
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tianyi Wang <twang@cloudera.com>

Mime
View raw message