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

Arun C Murthy updated HADOOP-1379:
----------------------------------

    Status: Open  (was: Patch Available)

Fails for me with:

findbugs:
 [findbugs] Running FindBugs...
 [findbugs] Exception in thread "main" java.lang.OutOfMemoryError: Java heap 
space
 [findbugs] Output saved to 
/home/arun/dev/java/hadoop/trunk/build/test/findbugs/hadoop-findbugs-report.xml
     [xslt] Processing 
/home/arun/dev/java/hadoop/trunk/build/test/findbugs/hadoop-findbugs-report.xml 
to 
/home/arun/dev/java/hadoop/trunk/build/test/findbugs/hadoop-findbugs-report.html
     [xslt] Loading stylesheet 
/home/arun/installs/findbugs-1.2.0/src/xsl/default.xsl
     [xslt] : Error! Premature end of file.
     [xslt] : Error! 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.
     [xslt] Failed to process 
/home/arun/dev/java/hadoop/trunk/build/test/findbugs/hadoop-findbugs-report.xml

BUILD FAILED
/home/arun/dev/java/hadoop/trunk/build.xml:583: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of 
file.

Total time: 4 minutes 33 seconds

-*-*-

Fix:

- <findbugs home="${findbugs.home}" output="xml:withMessages" 
outputFile="${findbugs.report.xmlfile}" effort="max" 
excludeFilter="${findbugs.exclude.file}">
+ <findbugs home="${findbugs.home}" output="xml:withMessages" 
outputFile="${findbugs.report.xmlfile}" effort="max" 
excludeFilter="${findbugs.exclude.file}" jvmargs="-Xmx512M">

> Integrate Findbugs into nightly build process
> ---------------------------------------------
>
>                 Key: HADOOP-1379
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1379
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: test
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>         Assigned To: Nigel Daley
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1379.patch, hadoop-findbugs-report.html
>
>
> I think we should integrate Findbugs (http://findbugs.sourceforge.net) into 
> our nightly test runs at http://lucene.zones.apache.org:8080/hudson/ and/or 
> our patch process builds.
> Findbugs uses static analysis to look for bugs in Java code.  It is licensed 
> under Lesser GNU Public License so the build target will need to be optional, 
> similar to the checkstyle target. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to