[
https://issues.apache.org/jira/browse/HADOOP-14386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002327#comment-16002327
]
Steve Loughran commented on HADOOP-14386:
-----------------------------------------
OK, if we look at the test failures, it's
{code}
java.io.IOException: java.lang.NoSuchMethodError:
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;I)V
at
org.apache.hadoop.hdfs.DataStreamer$LastExceptionInStreamer.set(DataStreamer.java:293)
at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:833)
{code}
That's the first stack trace we get to see when you are using older guava
versions with code built with 20.0 and it's overloaded checkArgument calls;
nothing unexpected if yetus is mixing versions of things around.
I am +1 if we all plan to have to roll back fast if there are problems
surfacing in Jenkins.
One issue there: I don't see a good hadoop-trunk branch on jenkins, just lots
of variants none of which have built for months. We need to have a "fix
jenkins" festival one weekend (and it must be a weekend, as that's when fewer
people notice)
> Rewind trunk from Guava 21.0 back to Guava 11.0.2
> -------------------------------------------------
>
> Key: HADOOP-14386
> URL: https://issues.apache.org/jira/browse/HADOOP-14386
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.0.0-alpha3
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Blocker
> Attachments: HADOOP-14386.001.patch, HADOOP-14386.002.patch,
> HADOOP-14386.003.patch, HADOOP-14386.004.patch
>
>
> As an alternative to reverting or shading HADOOP-10101 (the upgrade of Guava
> from 11.0.2 to 21.0), HADOOP-14380 makes the Guava version configurable.
> However, it still doesn't compile with Guava 11.0.2, since HADOOP-10101 chose
> to use the moved Guava classes rather than replacing them with alternatives.
> This JIRA aims to make Hadoop compatible with Guava 11.0.2 as well as 21.0 by
> replacing usage of these moved Guava classes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]