[
https://issues.apache.org/jira/browse/TEZ-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825267#comment-16825267
]
Jonathan Eagles commented on TEZ-4065:
--------------------------------------
Another consideration is that this only seems intermittent as TEZ-1348
correctly does a top level build. And I'm no expert on Yetus, but it seems like
TEZ-4062 is trying to do a top-level build, but incorrectly picking the top
level as tez/tez-dag.
https://builds.apache.org/job/PreCommit-TEZ-Build/140/consoleText
> Yetus build fails on trunk due to relying on snapshot dependencies
> ------------------------------------------------------------------
>
> Key: TEZ-4065
> URL: https://issues.apache.org/jira/browse/TEZ-4065
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Jonathan Eagles
> Priority: Major
>
> As noted in TEZ-4062, Yetus tez builds for provided patch. Very first maven
> build step fails.
> https://builds.apache.org/job/PreCommit-TEZ-Build/139/consoleText
> {code}
> cd /testptch/tez/tez-dag
> /usr/bin/mvn --batch-mode
> -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/PreCommit-TEZ-Build/yetus-m2/tez-master-patch-0
> -fae clean install -DskipTests=true -Dmaven.javadoc.skip=true
> -Dcheckstyle.skip=true -Dfindbugs.skip=true >
> /testptch/patchprocess/branch-mvninstall-tez-dag.txt 2>&1
> Elapsed: 3m 19s
> tez-dag in master failed.
> {code}
> The cause is because there is no top level master install step. Instead, it
> tries to download Tez snapshot dependencies which are out of date.
> How do I convince Yetus to do a top level build like PreCommit-YARN?
> Looking at a similar build in YARN first build step installs at the top level.
> https://builds.apache.org/job/PreCommit-YARN-Build/24016/consoleText
> {code}
> cd /testptch/hadoop
> /usr/bin/mvn --batch-mode
> -Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/PreCommit-YARN-Build/yetus-m2/hadoop-trunk-patch-1
> -Ptest-patch -DskipTests -fae clean install -DskipTests=true
> -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true >
> /testptch/patchprocess/branch-mvninstall-root.txt 2>&1
> Elapsed: 18m 20s
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)