[
https://issues.apache.org/jira/browse/OOZIE-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771018#comment-16771018
]
Andras Salamon edited comment on OOZIE-3418 at 2/18/19 11:40 AM:
-
Lots of test failures shows the following error:
{noformat}
[INFO] ---
[INFO] T E S T S
[INFO] ---
[INFO] Running org.apache.oozie.action.hadoop.TestMapReduceActionExecutor
[ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 7.419
s <<< FAILURE! - in org.apache.oozie.action.hadoop.TestMapReduceActionExecutor
[ERROR]
testDefaultShareLibName(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
Time elapsed: 0.326 s <<< ERROR!
java.lang.NoSuchMethodError:
com.google.common.base.Objects.toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/Objects$ToStringHelper;
at
org.apache.hadoop.metrics2.lib.MetricsRegistry.toString(MetricsRegistry.java:392)
at java.lang.String.valueOf(String.java:2994)
...
{noformat}
This class has been
[removed|https://google.github.io/guava/releases/20.0/api/docs/com/google/common/base/Objects.ToStringHelper.html]
from Guava 21.
Hadoop 2 requires older Guava and it won't work with the latest one. We should
probably shade an older version of Guava for hadoop.
was (Author: asalamon74):
Lots of test failures shows the following error:
{noformat}
[INFO] ---
[INFO] T E S T S
[INFO] ---
[INFO] Running org.apache.oozie.action.hadoop.TestMapReduceActionExecutor
[ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 7.419
s <<< FAILURE! - in org.apache.oozie.action.hadoop.TestMapReduceActionExecutor
[ERROR]
testDefaultShareLibName(org.apache.oozie.action.hadoop.TestMapReduceActionExecutor)
Time elapsed: 0.326 s <<< ERROR!
java.lang.NoSuchMethodError:
com.google.common.base.Objects.toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/Objects$ToStringHelper;
at
org.apache.hadoop.metrics2.lib.MetricsRegistry.toString(MetricsRegistry.java:392)
at java.lang.String.valueOf(String.java:2994){noformat}
...
{noformat}
This class has been
[removed|https://google.github.io/guava/releases/20.0/api/docs/com/google/common/base/Objects.ToStringHelper.html]
from Guava 21.
Hadoop 2 requires older Guava and it won't work with the latest one. We should
probably shade an older version of Guava for hadoop.
> Upgrade to Guava 27
> ---
>
> Key: OOZIE-3418
> URL: https://issues.apache.org/jira/browse/OOZIE-3418
> Project: Oozie
> Issue Type: Bug
>Affects Versions: 5.1.0
>Reporter: Andras Salamon
>Assignee: Andras Salamon
>Priority: Major
> Attachments: OOZIE-3418-01-WIP.patch
>
>
> There is a guava security issue:
> [CVE-2018-10237|https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10237]
> Currently we use Guava 11.0.2 which is affected. We need to upgrade to at
> least guava 24.1.1. Probably the best would be to use Guava 27.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)