You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Vinay (Jira)" <ji...@apache.org> on 2021/03/10 13:53:00 UTC

[jira] [Commented] (TEZ-4074) Tez does not run with Hadoop Trunk (3.3.0-snapshot)

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

Vinay commented on TEZ-4074:
----------------------------

We are facing the same issue, Our cluster configuration:

Hadoop - 3.2.1

TEZ - 0.10.0

(We have copied tez tar from the shared folder to hdfs)
{code:java}
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357)
	at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338)
	at org.apache.tez.common.TezUtilsInternal.addUserSpecifiedTezConfiguration(TezUtilsInternal.java:84)
	at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:2396)
{code}
[~abstractdog] any suggestions ?

> Tez does not run with Hadoop Trunk (3.3.0-snapshot)
> ---------------------------------------------------
>
>                 Key: TEZ-4074
>                 URL: https://issues.apache.org/jira/browse/TEZ-4074
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Ahmed Hussein
>            Priority: Major
>
> Tez throws a runtime exception when compiled against Hadoop-3.3.0.
> With Tez running Guava (11.0.2) and Hadoop eunning Guava 27.0-jre (see HADOOP-16210), there is an incompatibility of Guava library.
> {code:java}
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.136 s <<< FAILURE! - in org.apache.tez.dag.app.TestSpeculation
> [ERROR] org.apache.tez.dag.app.TestSpeculation Time elapsed: 0.136 s <<< ERROR!
> java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
> at org.apache.tez.dag.app.TestSpeculation.setupSpeculation(TestSpeculation.java:86)
> {code}
> It looks like guava added single parameter optimizations which breaks compatibility with {{VAR_ARGS}}. So, even though it shows source compatibility it is throwing a runtime error due to binary incompatibility.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)