hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 15:25:15 GMT

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

Hudson commented on HADOOP-11600:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2058 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2058/])
HADOOP-11600. Fix up source codes to be compiled with Guava 17.0. (ozawa) (ozawa: rev 2f0f756b26ea83e142a5b9379fa75862c2fc6ad5)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/XAttrCommands.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/PBImageTextWriter.java


> 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