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

Steve Loughran commented on HADOOP-11600:
-----------------------------------------

+1 for fixing branch-2 to build/run against guava 17+. 

Note to others:  this doesn't change the version of Guava branch-2 is (stuck) 
with, merely ensures that downstream code can upgrade their versions

> Fix up source codes to be compiled with Guava 17.0
> --------------------------------------------------
>
>                 Key: HADOOP-11600
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11600
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.6.0
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11600-001.patch, HADOOP-11600-002.patch, 
> HADOOP-11600-003.patch
>
>
> Removing usage of Guava's deprecated or missing methods in recent 
> version(17.0) without updating pom file. This JIRA targets branch-2.
> In the latest release of Guava(18.0), following changes are done:
> * Objects#ToStringHelper was removed and we need to use 
> MoreObjects#ToStringHelper. However, MoreObjects#ToStringHelper has been 
> introduced since 18.0.
> * Enums.valueOfFunction was removed and need to be replaced with 
> Enums.stringConverter. However, MoreObjects#ToStringHelper has been 
> introduced since 16.0.
> * MoreExecutors.sameThreadExecutor() was removed at 18.0 and need to be 
> replaced with MoreExecutors.newDirectExecutorService. However, 
> MoreExecutors.newDirectExecutorService has been introduced since 18.0. 
> We'll do these changes on HADOOP-10101.



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

Reply via email to