hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16849) Upgrade jetty version to 9.4.6.v20170531
Date Thu, 15 Jun 2017 19:06:00 GMT

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

Aihua Xu updated HIVE-16849:
----------------------------
    Status: In Progress  (was: Patch Available)

> Upgrade jetty version to 9.4.6.v20170531
> ----------------------------------------
>
>                 Key: HIVE-16849
>                 URL: https://issues.apache.org/jira/browse/HIVE-16849
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>    Affects Versions: 3.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-16849.1.patch
>
>
> From HIVE-16846, the test case of TestJdbcWithMiniHS2#testHttpHeaderSize is returning
http error code 413 (PAYLOAD_TOO_LARGE_413) rather than 431 (REQUEST_HEADER_FIELDS_TOO_LARGE_431
) while 431 seems more accurate and the newer version of jetty fixed such issue.
> {noformat}
>     // This should fail with given HTTP response code 413 in error message, since header
is more
>     // than the configured the header size
>     userName = StringUtils.leftPad("*", 2000);
>     try {
>       conn = getConnection(miniHS2.getJdbcURL(testDbName), userName, "password");
>     } catch (Exception e) {
>       assertTrue("Header exception thrown", e != null);
>       assertTrue(e.getMessage().contains("HTTP Response code: 413"));
>     } finally {
>       if (conn != null) {
>         conn.close();
>       }
>     }
> {noformat}



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

Mime
View raw message