You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/06 16:40:00 UTC

[jira] [Commented] (IMPALA-8832) Queries fail to run when connecting to Impala over Knox

    [ 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 <tm...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org