You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Andrew Sherman (Jira)" <ji...@apache.org> on 2020/12/22 21:39:00 UTC

[jira] [Resolved] (IMPALA-9540) Impala Shell sends duplicate "Host" headers in http mode

     [ https://issues.apache.org/jira/browse/IMPALA-9540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Sherman resolved IMPALA-9540.
------------------------------------
    Resolution: Fixed

> Impala Shell sends duplicate "Host" headers in http mode
> --------------------------------------------------------
>
>                 Key: IMPALA-9540
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9540
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Major
>
> Running "impala-shell --protocol='hs2-http' ..." the impala shell sends two copies of the "Host" header. When connecting to the minicluster the values are
> {code}
> Host: “localhost”
> Host: “localhost:8080”
> {code}
> This is bad because the http server in golang's net/http package will reject any http call with 
> {code}
> badRequestError("too many Host headers")
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)