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 "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2015/07/10 07:34:06 UTC
[jira] [Updated] (HADOOP-11600) Fix up source codes to be compiled
with Guava 17.0
[ https://issues.apache.org/jira/browse/HADOOP-11600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ozawa updated HADOOP-11600:
------------------------------------
Description:
Removing usage of Guava's deprecated or missing methods in recent version(17.0) without updating pom file. This JIRA targets branch-2. On this JIRA, org.apache.hadoop.util.LimitInputStream will be used instead of com.google.common.io.LimitInputStream which is removed in Guava 15.0.
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.
was:
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.
> 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. On this JIRA, org.apache.hadoop.util.LimitInputStream will be used instead of com.google.common.io.LimitInputStream which is removed in Guava 15.0.
> 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)