You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2017/06/07 21:34:18 UTC

[jira] [Created] (HIVE-16849) Upgrade jetty version to 9.4.6.v20170531

Aihua Xu created HIVE-16849:
-------------------------------

             Summary: 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


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.3.15#6346)