[
https://issues.apache.org/jira/browse/TEZ-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330019#comment-16330019
]
Harish Jaiprakash commented on TEZ-3884:
----------------------------------------
Thanks [~ewohlstadter]. I was trying to build tez with hadoop3. We can remove
the dependency in
tez-api/src/test/java/org/apache/tez/client/TestTezClientUtils.java by directly
using FileSystem instead of DistributedFileSystem. I did hope that should fix
things but its still fails in
tez-api/src/test/java/org/apache/tez/common/TestTezCommonUtils.java, because
hadoop-hdfs has made the dependency hadoop-hdfs-client scoped as provided. Not
sure why that is, but since we only use this as part of test, we should make
this dependency test scoped.
Another change we need is jersey-client version change from 1.9 to 1.19 for
hadoop3.
> Hadoop3-beta1 fixes for Tez tests
> ---------------------------------
>
> Key: TEZ-3884
> URL: https://issues.apache.org/jira/browse/TEZ-3884
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.9.1
> Reporter: Gopal V
> Priority: Minor
> Attachments: TEZ-3884.patch.1
>
>
> {code}
> [ERROR]
> /grid/5/dev/gopalv/llap-autobuild/tez/tez-api/src/test/java/org/apache/tez/client/TestTezClientUtils.java:[48,30]
> cannot find symbol
> [ERROR] symbol: class DistributedFileSystem
> [ERROR] location: package org.apache.hadoop.hdfs
> [ERROR]
> /grid/5/dev/gopalv/llap-autobuild/tez/tez-api/src/test/java/org/apache/tez/client/TestTezClientUtils.java:[680,50]
> cannot find symbol
> [ERROR] symbol: class DistributedFileSystem
> [ERROR] location: class org.apache.tez.client.TestTezClientUtils
> [ERROR]
> /grid/5/dev/gopalv/llap-autobuild/tez/tez-api/src/test/java/org/apache/tez/common/TestTezCommonUtils.java:[62,42]
> cannot access org.apache.hadoop.hdfs.DistributedFileSystem
> [ERROR] class file for org.apache.hadoop.hdfs.DistributedFileSystem not found
> [ERROR] -> [Help 1]
> [ERROR]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)