impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Robinson (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-4488: HS2 GetOperationStatus() should keep session alive
Date Thu, 24 Nov 2016 01:00:37 GMT
Henry Robinson has uploaded a new change for review.

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

Change subject: IMPALA-4488: HS2 GetOperationStatus() should keep session alive
......................................................................

IMPALA-4488: HS2 GetOperationStatus() should keep session alive

GetOperationStatus() is used by *DBC drivers to check if a query is
ready for its results to be fetched. However, it did not keep the
associated session alive, so queries would time out if they took longer
than the timeout to materialize their first rows to be fetched.

* Add withSession() to GetOperationStatus()
* Add a test that failed before this patch, and succeeds after.

Change-Id: Ibb3f66188209563b4b74b2ca96480f16ace0f190
---
M be/src/service/impala-hs2-server.cc
M tests/hs2/test_hs2.py
2 files changed, 34 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/5213/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5213
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb3f66188209563b4b74b2ca96480f16ace0f190
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Henry Robinson <henry@cloudera.com>

Mime
View raw message