[
https://issues.apache.org/jira/browse/IMPALA-8832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901251#comment-16901251
]
ASF subversion and git services commented on IMPALA-8832:
---------------------------------------------------------
Commit bcedd1572ee69bf5f5551af08f8fcb0ae0c48aea in impala's branch
refs/heads/master from Thomas Tauber-Marshall
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=bcedd15 ]
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]>
> Queries fail to run when connecting to Impala over Knox
> -------------------------------------------------------
>
> Key: IMPALA-8832
> URL: https://issues.apache.org/jira/browse/IMPALA-8832
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 3.3.0
> Reporter: Thomas Tauber-Marshall
> Assignee: Thomas Tauber-Marshall
> Priority: Blocker
> Labels: security
>
> Impala recently added support for HTTP clients over HS2. One of the
> motivations for this work was to allow proxying of connections to Impala
> through other services such as Apache Knox.
> However, testing in testing with Knox, it seems that its possible to connect
> to Impala successfully, but then queries fail to run or results aren't
> retrieved.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]