Tianyi Wang has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/7539

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/1
-- 
To view, visit http://gerrit.cloudera.org:8080/7539
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic695faf89b146bdaa145aaca87f85579137b67c5
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tianyi Wang <[email protected]>

Reply via email to