You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andrew Bayer (Commented) (JIRA)" <ji...@apache.org> on 2012/02/13 20:46:59 UTC

[jira] [Commented] (HADOOP-8066) The full docs build intermittently fails

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

Andrew Bayer commented on HADOOP-8066:
--------------------------------------

This is due to annoying more-or-less non-deterministic Maven plugin execution order - in hadoop-project-dist/pom.xml (the parent for the failing modules), in the docs profile, there are a bunch of plugins running in the "prepare-package" phase, and based on some factors that are not at all obvious, Maven decides the order they get run in. For whatever reason, the findbugs execution isn't happening before the antrun execution, and so the antrun is failing (since it needs the findbugs execution to have already run).

What I've done in a local test is switched the phase for the docs profile plugin executions other than antrun from "prepare-package" to "process-test-classes", which will have run by the time "prepare-package" is reached. That seems to do the trick.
                
> The full docs build intermittently fails
> ----------------------------------------
>
>                 Key: HADOOP-8066
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8066
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Andrew Bayer
>
> See for example:
> https://builds.apache.org/job/Hadoop-Hdfs-trunk/954/
> https://builds.apache.org/job/Hadoop-Common-trunk/317/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira