hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Podgursky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10101) Update guava dependency to the latest version
Date Mon, 08 May 2017 18:58:05 GMT

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

Ben Podgursky commented on HADOOP-10101:
----------------------------------------

Thanks [~djp].  Sorry if my reply came off as criticizing Hadoop, I totally recognize that
this is a difficult problem.  I understand the problems are fundamentally caused by Guava
breaking changes, not by Hadoop.  But I don't think I'm going to be able to convince Guava
to stop doing major releases, and at the end of the day it's a super widely used library,
so I figured I should try here instead :)

This isn't really a scientific analysis, but my anecdotal experience is that there aren't
* that * many breaking changes between each Guava release, and the odds are that you can run
Guava 21 against something compiled against 19, and you'll likely be fine.  There are some
specific interface-to-abstract-class changes between 11 and 13 which are the big problem (IIRC,
might be wrong on the versions).

I agree that classpath isolation is the "real" fix here.  I've been following HADOOP-11656
as well, ("Classpath isolation for downstream clients") but there's a ton of debate there
about the costs of shading etc, so I'm not sure how close that is to being pushed. 

Anyway, thanks again for your work on this.  I'm really hoping we can get a newer version,
but I understand the release synchronization costs.  Just wanted to mention that this causes
user pain that might not be reflected on JIRA too often, since it's something we can generally
work around.

> Update guava dependency to the latest version
> ---------------------------------------------
>
>                 Key: HADOOP-10101
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10101
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Rakesh R
>            Assignee: Tsuyoshi Ozawa
>              Labels: BB2015-05-TBR
>             Fix For: 3.0.0-alpha3
>
>         Attachments: HADOOP-10101-002.patch, HADOOP-10101-004.patch, HADOOP-10101-005.patch,
HADOOP-10101-006.patch, HADOOP-10101-007.patch, HADOOP-10101-008.patch, HADOOP-10101-009.patch,
HADOOP-10101-009.patch, HADOOP-10101-010.patch, HADOOP-10101-010.patch, HADOOP-10101-011.patch,
HADOOP-10101.012.patch, HADOOP-10101.013.patch, HADOOP-10101.014.patch, HADOOP-10101.015.patch,
HADOOP-10101.016.patch, HADOOP-10101.017.patch, HADOOP-10101.018.patch, HADOOP-10101.patch,
HADOOP-10101.patch
>
>
> The existing guava version is 11.0.2 which is quite old. This issue tries to update the
version to as latest version as possible. 



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


Mime
View raw message