Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 96186200C8F for ; Fri, 9 Jun 2017 17:20:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94C2B160BD4; Fri, 9 Jun 2017 15:20:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DBEE5160B9C for ; Fri, 9 Jun 2017 17:20:21 +0200 (CEST) Received: (qmail 7034 invoked by uid 500); 9 Jun 2017 15:20:21 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 7024 invoked by uid 99); 9 Jun 2017 15:20:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2017 15:20:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BCBC71818F1 for ; Fri, 9 Jun 2017 15:20:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Gp9KJ2sV3RiU for ; Fri, 9 Jun 2017 15:20:20 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7F65A5FCAC for ; Fri, 9 Jun 2017 15:20:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BCC09E0D1A for ; Fri, 9 Jun 2017 15:20:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1D11321938 for ; Fri, 9 Jun 2017 15:20:18 +0000 (UTC) Date: Fri, 9 Jun 2017 15:20:18 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-16849) Upgrade jetty version to 9.4.6.v20170531 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Jun 2017 15:20:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-16849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-16849: ---------------------------- Status: Patch Available (was: Open) > 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.3.15#6346)