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

Alejandro Abdelnur commented on HADOOP-8035:
--------------------------------------------

Andrew,

I'm having problems running the patch, doing:

{code}
$ mvn clean site package -DskipTests -Pdist,docs
{code}

the build gets stuck multiple times and I have to press enter to continue, then 
it fails at:

{code}
....
[INFO] Apache Hadoop Distributed Copy .................... SUCCESS [13.064s]
[INFO] Apache Hadoop Archives ............................ SUCCESS [3.452s]
[INFO] Apache Hadoop Rumen ............................... SUCCESS [7.196s]
[INFO] Apache Hadoop Extras .............................. SUCCESS [4.199s]
[INFO] Apache Hadoop Tools Dist .......................... FAILURE [0.708s]
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38:15.361s
[INFO] Finished at: Wed Feb 08 12:33:14 PST 2012
[INFO] Final Memory: 94M/298M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (site) on project 
hadoop-tools-dist: An Ant BuildException has occured: 
/Volumes/SSD/src/apache/hadoop/git/hadoop-tools/hadoop-tools-dist/src/main/docs 
does not exist. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hadoop-tools-dist
dontknow:git tucu$ 
{code}

Thxs
                
> Hadoop Maven build is inefficient and runs phases redundantly
> -------------------------------------------------------------
>
>                 Key: HADOOP-8035
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8035
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>            Reporter: Andrew Bayer
>            Assignee: Andrew Bayer
>            Priority: Minor
>         Attachments: HADOOP-8035.mk2.patch.txt, HADOOP-8035.patch.txt
>
>
> The Hadoop 0.23 Maven build has some major inefficiencies, most notably in 
> site and javadoc. As a result of redundant plugin executions and certain 
> plugin executions being inherited when they really shouldn't be, builds take 
> a lot longer than they should.

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

        

Reply via email to