You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2015/07/18 03:21:06 UTC

[jira] [Commented] (HADOOP-10101) Update guava dependency to the latest version

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

Hitesh Shah commented on HADOOP-10101:
--------------------------------------

I hit something similar in tez recently and looking at this jira, I am wondering as to why shading ( relocating all classes ) the guava jar is not an option?

Consider the following approach: 
   - introduce a new hadoop-guava module which depends on guava version X.
      - hadoop-guava relocates all classes in guava to org.apache.hadoop.shaded.guava 
   - all code in hadoop depends on hadoop-guava and excludes the google-guava dependency

I did try a quick prototype approach on branch-2 and it seems to function without directly pulling in guava ( except of course - the curator guava dependency problem ) 

> 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: 2.2.0, 2.6.0
>            Reporter: Rakesh R
>            Assignee: Vinayakumar B
>              Labels: BB2015-05-TBR
>         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.patch, HADOOP-10101.patch
>
>
> The existing guava version is 11.0.2 which is quite old. This 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)