hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-14380) Make Guava version Hadoop builds with configurable
Date Thu, 04 May 2017 13:31:04 GMT

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

Steve Loughran edited comment on HADOOP-14380 at 5/4/17 1:30 PM:
-----------------------------------------------------------------

FWIW, the min version hadoop-common builds against is 19.0, because of the move from Objects
to MoreObjects forced by the java 8 migration. Hadoop trunk is java 8+, so 19.0+ it is. unless
someone moves the toString() calls in MetricsRegistry off Guava. Which isn't hard, and keeps
guava brittleness down

{code}
[INFO] Finished at: 2017-05-04T14:24:17+01:00
[INFO] Final Memory: 106M/874M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project hadoop-common: Compilation failure: Compilation failure:
[ERROR] /Users/stevel/Projects/hadoop-trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MetricsRegistry.java:[25,30]
cannot find symbol
[ERROR] symbol:   class MoreObjects
[ERROR] location: package com.google.common.base
[ERROR] /Users/stevel/Projects/hadoop-trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsTag.java:[21,30]
cannot find symbol
{code}


was (Author: stevel@apache.org):
FWIW, the min version hadoop-common builds against is 18.0, because of the move from Objects
to MoreObjects forced by the java 8 migration. Hadoop trunk is java 8+, so 18.0+ it is. unless
someone moves the toString() calls in MetricsRegistry off Guava. Which isn't hard, and keeps
guava brittleness down

{code}
[INFO] Finished at: 2017-05-04T14:24:17+01:00
[INFO] Final Memory: 106M/874M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project hadoop-common: Compilation failure: Compilation failure:
[ERROR] /Users/stevel/Projects/hadoop-trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/lib/MetricsRegistry.java:[25,30]
cannot find symbol
[ERROR] symbol:   class MoreObjects
[ERROR] location: package com.google.common.base
[ERROR] /Users/stevel/Projects/hadoop-trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/MetricsTag.java:[21,30]
cannot find symbol
{code}

> Make Guava version Hadoop builds with configurable
> --------------------------------------------------
>
>                 Key: HADOOP-14380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14380
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> Make the choice of guava version Hadoop builds with configurable, so people building
Hadoop 3 alphas can build with an older version and so cause less unhappiness downstream



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message