You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org> on 2016/05/17 20:02:59 UTC

[Impala-CR](cdh5-trunk) IMPALA-1633: Impala server GetOperationStatus() should return detail sql error code and message when query fails

Thomas Tauber-Marshall has uploaded a new patch set (#2).

Change subject: IMPALA-1633: Impala server GetOperationStatus() should return detail sql error code and message when query fails
......................................................................

IMPALA-1633: Impala server GetOperationStatus() should return detail sql error code and message when query fails

Currently, we never populate the errorMessage or sqlState fields of
TGetOperationStatusResp when the GetOperationStatus HiveServer2 rpc is
called. This patch checks if the query has an error status and if so
sets errorMessage and sqlState.

This also addresses IMPALA-3298: TGetOperationStatusResp missing error
message when data is expired

Change-Id: Icb792f88286779fcf2ce409828de818bc4e80bed
---
M be/src/service/impala-hs2-server.cc
M tests/hs2/hs2_test_suite.py
M tests/hs2/test_hs2.py
3 files changed, 47 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icb792f88286779fcf2ce409828de818bc4e80bed
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>