hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17194) JDBC: Implement Gzip servlet filter
Date Fri, 11 Aug 2017 22:07:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-17194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124172#comment-16124172
] 

Thejas M Nair commented on HIVE-17194:
--------------------------------------

Patch looks good. +1

More information from offline discussion with [~gopalv] - tests show  +4% CPU for ~3x reduction
sizes with TPC-DS customer_demographics. Overall time remained same.




> JDBC: Implement Gzip servlet filter
> -----------------------------------
>
>                 Key: HIVE-17194
>                 URL: https://issues.apache.org/jira/browse/HIVE-17194
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2, JDBC
>    Affects Versions: 3.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>         Attachments: HIVE-17194.1.patch, HIVE-17194.2.patch, HIVE-17194.3.patch
>
>
> {code}
> POST /cliservice HTTP/1.1
> Content-Type: application/x-thrift
> Accept: application/x-thrift
> User-Agent: Java/THttpClient/HC
> Authorization: Basic YW5vbnltb3VzOmFub255bW91cw==
> Content-Length: 71
> Host: localhost:10007
> Connection: Keep-Alive
> Accept-Encoding: gzip,deflate
> X-XSRF-HEADER: true
> {code}
> The Beeline client clearly sends out HTTP compression headers which are ignored by the
HTTP service layer in HS2.
> After patch, result looks like
> {code}
> HTTP/1.1 200 OK
> Date: Tue, 01 Aug 2017 01:47:23 GMT
> Content-Type: application/x-thrift
> Vary: Accept-Encoding, User-Agent
> Content-Encoding: gzip
> Transfer-Encoding: chunked
> Server: Jetty(9.3.8.v20160314)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message