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 133B4200C8B for ; Mon, 8 May 2017 06:54:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11EA2160BC5; Mon, 8 May 2017 04:54:10 +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 5948F160BB1 for ; Mon, 8 May 2017 06:54:09 +0200 (CEST) Received: (qmail 1371 invoked by uid 500); 8 May 2017 04:54:08 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 1360 invoked by uid 99); 8 May 2017 04:54:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2017 04:54:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E20091A7A8B for ; Mon, 8 May 2017 04:54:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZsXTS_KehJUw for ; Mon, 8 May 2017 04:54:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 61D5A5FDB4 for ; Mon, 8 May 2017 04:54:06 +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 472C3E0D19 for ; Mon, 8 May 2017 04:54:05 +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 3025F21DFA for ; Mon, 8 May 2017 04:54:04 +0000 (UTC) Date: Mon, 8 May 2017 04:54:04 +0000 (UTC) From: "Andrew Wang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14386) Make trunk work with Guava 11.0.2 again MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 08 May 2017 04:54:10 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HADOOP-14386: --------------------------------- Attachment: HADOOP-14386.003.patch Thanks for the confirmation [~ozawa]. New patch fixes the checkstyle and also rewinds the Guava version to 11.0.2. I think this is ready for review. I could use a closer look at the YARN changes: * WebApp#getPrefix trims leading whitespace from the route. It looks like the routes are set up by internal code (e.g. AM, RM) so I don't know why we'd want to trim leading spaces. Anyway, seems unlikely that handling unicode spaces is important for this, and it's also not a public API. * ApplicationSubmissionContextPBImpl validates that the tags are ASCII. Since these tags are meant to be displayed, I don't think it makes sense for them to be non-printable control characters. Thus this is incompatible, but it seems like a good change. These are both easy to undo if we want to be more conservative. LMK. > Make trunk work with Guava 11.0.2 again > --------------------------------------- > > Key: HADOOP-14386 > URL: https://issues.apache.org/jira/browse/HADOOP-14386 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 3.0.0-alpha3 > Reporter: Andrew Wang > Assignee: Andrew Wang > Attachments: HADOOP-14386.001.patch, HADOOP-14386.002.patch, HADOOP-14386.003.patch > > > As an alternative to reverting or shading HADOOP-10101 (the upgrade of Guava from 11.0.2 to 21.0), HADOOP-14380 makes the Guava version configurable. However, it still doesn't compile with Guava 11.0.2, since HADOOP-10101 chose to use the moved Guava classes rather than replacing them with alternatives. > This JIRA aims to make Hadoop compatible with Guava 11.0.2 as well as 21.0 by replacing usage of these moved Guava classes. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org