[ 
https://issues.apache.org/jira/browse/HBASE-14337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-14337:
--------------------------------
    Attachment: HBASE-14337.2.patch

-02

* adds option to test-patch to leave the patchprocess directory alone

looks like patches are now justly failing. this patch has the differences on 
the branch currently running hte precommit job. needed to allow for the 
following workspace layout:

{code}
%WORKSPACE%
   |
   |-----maven_repo
   |
   |-----patchprocess
   |
   |-----hbase
   |
   \-----test-patch branch
{code}

the maven_repo is needed to get around the bad dependency pom that started this 
issue. breaking out hbase for the upstream repo and patchprocess for running 
was needed to keep RAT just looking at the hbase code. The test-patch branch 
was a side effect, but leaving it in place (but pointing to master) will keep 
us better-prepared to adopt Yetus once there's a release.

> build error on master
> ---------------------
>
>                 Key: HBASE-14337
>                 URL: https://issues.apache.org/jira/browse/HBASE-14337
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Gabor Liptak
>            Assignee: Sean Busbey
>         Attachments: HBASE-14227_v5.patch, HBASE-14227_v5.patch, 
> HBASE-14227_v5.patch, HBASE-14337.1.patch, HBASE-14337.2.patch
>
>
> In https://builds.apache.org/job/PreCommit-HBASE-Build/15325//console
> /home/jenkins/tools/maven/latest/bin/mvn clean package 
> checkstyle:checkstyle-aggregate findbugs:findbugs -DskipTests  
> -DHBasePatchProcess > 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkJavacWarnings.txt
>  2>&1
> mvn exit code was 0
> mv: cannot stat 'target/checkstyle-result.xml': No such file or directory
> Usage: edu.umd.cs.findbugs.workflow.UnionResults [options] [<results1> 
> <results2> ... <resultsn>] 
> Expected 2...2147483647 file arguments, found 1
> Options:
>     -withMessages        Generated XML should contain msgs for external 
> processing
>     -output <outputFile> File in which to store combined results
> Exception in thread "main" java.io.FileNotFoundException: 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml
>  (No such file or directory)
>       at java.io.FileInputStream.open(Native Method)
>       at java.io.FileInputStream.<init>(FileInputStream.java:146)
>       at 
> edu.umd.cs.findbugs.SortedBugCollection.progessMonitoredInputStream(SortedBugCollection.java:1231)
>       at 
> edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:308)
>       at 
> edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:295)
>       at 
> edu.umd.cs.findbugs.PrintingBugReporter.xslt(PrintingBugReporter.java:235)
>       at 
> edu.umd.cs.findbugs.PrintingBugReporter.main(PrintingBugReporter.java:159)
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml:
>   ERROR: cannot open 
> `/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.xml'
>  (No such file or directory)
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.html:
>  ERROR: cannot open 
> `/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/trunkFindbugsWarnings.html'
>  (No such file or directory)
> /home/jenkins/tools/maven/latest/bin/mvn clean install -DskipTests 
> -DHBasePatchProcess -Dhadoop-two.version=2.4.0 > 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/patchprocess/patchJavacWithHadoop-2.4.0.txt
>  2>&1
> ======================================================================
> There are compilation errors with Hadoop version 2.4.0.
> ======================================================================
> [ERROR] Error invoking method 'get(java.lang.Integer)' in java.util.ArrayList 
> at META-INF/LICENSE.vm[line 1619, column 22]
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) 
> on project hbase-assembly: Error rendering velocity resource. Error invoking 
> method 'get(java.lang.Integer)' in java.util.ArrayList at 
> META-INF/LICENSE.vm[line 1619, column 22]: InvocationTargetException: Index: 
> 0, Size: 0 -> [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 :hbase-assembly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to