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

Jonathan Eagles commented on TEZ-4065:
--------------------------------------

[~aw], I'm having an issue where a Yetus 0.8 patch build does not do a top 
level mvn install step and submodules fail back to SNAPSHOT dependencies for 
dependencies provided within the project. I see that the YARN precommit build 
does do top level install. Is there a step missing? Corner case bug? Some 
customization needed to get this to work?

> 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)

Reply via email to