hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11600) Fix up source codes to be compiled with Guava 17.0
Date Tue, 17 Feb 2015 12:54:12 GMT

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

Tsuyoshi OZAWA commented on HADOOP-11600:
-----------------------------------------

Thanks Steve for your review. Committing this shortly.

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

Mime
View raw message