Thomas Tauber-Marshall has uploaded this change for review. ( 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 --- 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(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/14008/1 -- 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: newchange Gerrit-Change-Id: I5c9d934a654a9e6aaf9207fa5856f956baaacf55 Gerrit-Change-Number: 14008 Gerrit-PatchSet: 1 Gerrit-Owner: Thomas Tauber-Marshall <tmarsh...@cloudera.com>