Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14008 )
Change subject: IMPALA-8832: Fix HTTP client protocol to work with Apache Knox ...................................................................... IMPALA-8832: Fix HTTP client protocol to work with Apache Knox This patch fixes two bugs with Impala's HTTP client protocol: - THttpServer transports are no longer wrapped in TBufferedTransports. THttpServer already has its own support for buffering to process one HTTP request at a time, and wrapping it in a TBufferedTransport interferes with this, in some cases causing client requests to either not be processed or to recieve multiple responses. - Fixes a bug in THttpTransport where when a chunked HTTP request is finished being processed, the 'readHeaders_' variable is never reset and further requests over the connection are not processed. Testing: - Tested by proxying beeline connections to Impala through Apache Knox Change-Id: I5c9d934a654a9e6aaf9207fa5856f956baaacf55 Reviewed-on: http://gerrit.cloudera.org:8080/14008 Reviewed-by: Thomas Tauber-Marshall <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/rpc/auth-provider.h M be/src/rpc/authentication.cc M be/src/rpc/thrift-server.cc M be/src/transport/THttpTransport.cpp 4 files changed, 47 insertions(+), 58 deletions(-) Approvals: Thomas Tauber-Marshall: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/14008 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5c9d934a654a9e6aaf9207fa5856f956baaacf55 Gerrit-Change-Number: 14008 Gerrit-PatchSet: 4 Gerrit-Owner: Thomas Tauber-Marshall <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
