You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/05/16 20:45:16 UTC

[jira] Created: (HADOOP-1379) Integrate Findbugs into nightly build process

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
            Reporter: Nigel Daley


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.


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496943 ] 

Hadoop QA commented on HADOOP-1379:
-----------------------------------

-1, could not apply patch.

The patch command could not apply the latest attachment http://issues.apache.org/jira/secure/attachment/12357644/HADOOP-1379.patch as a patch to trunk revision r539243.

Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/160/console

Please note that this message is automatically generated and may represent a problem with the automation system and not the patch.

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


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Attachment: HADOOP-1379.patch

Attached patch adds optional findbugs target and consolidates optional 3rd party tool targets into one section (ie findbugs and checkstyle).  The target is used as follows:

ant -Dfindbugs.home=<absolute path to findbugs install> findbugs

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


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

        Fix Version/s: 0.14.0
             Assignee: Nigel Daley
    Affects Version/s: 0.12.3
               Status: Patch Available  (was: Open)

Patch for review.

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


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497073 ] 

Doug Cutting commented on HADOOP-1379:
--------------------------------------

I just committed this.

Nigel, I'll let you resolve it once you've integrated this into the nightly build process.

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Attachment: HADOOP-1379.patch

Bad paths in the patch

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Attachment: HADOOP-1379.patch

Thanks Arun!  Updated patch.

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


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496969 ] 

Hadoop QA commented on HADOOP-1379:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12357647/HADOOP-1379.patch applied and successfully tested against trunk revision r539243.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/162/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/162/console

> 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-1379.patch, 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.


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496798 ] 

Hadoop QA commented on HADOOP-1379:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12357606/HADOOP-1379.patch applied and successfully tested against trunk revision r539243.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/158/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/158/console

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


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496372 ] 

Doug Cutting commented on HADOOP-1379:
--------------------------------------

Can you please attach some sample findbugs output?  I have no problem adding support for findbugs to build.xml, but am concerned that if the false-positive rate is too high that it could waste more time than it saves, so we shouldn't force its analysis on folks, e.g., by failing builds because of it.  Adding it to the nightly as something that folks can optionally browse shouldn't cause any harm however.

> 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
>            Reporter: Nigel Daley
>
> 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.


[jira] Commented: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497104 ] 

Hadoop QA commented on HADOOP-1379:
-----------------------------------

Integrated in Hadoop-Nightly #93 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/93/)

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Status: Patch Available  (was: Open)

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


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Status: Patch Available  (was: Open)

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Status: Open  (was: Patch Available)

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley updated HADOOP-1379:
--------------------------------

    Attachment: hadoop-findbugs-report.html

Findbugs is tunable, both in the detectors it uses and the output format it generates.  I've attached html output from a recent run using all detectors.  I believe Findbugs can also produce incremental output build over build.

In addition, the guys over at Fortify (http://opensource.fortifysoftware.com) will run Findbugs and their Source Code Analysis (SCA) software for free on open source projects.  I notice Lucene and Nutch are already registered.  The advantage of letting them run it is we then have access to their web interface to collaboratively classify the findbugs issues (Not a Bug, Should fix, Must fix, etc.).

> 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
>            Reporter: Nigel Daley
>         Attachments: 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1379:
---------------------------------

    Status: Open  (was: Patch Available)

Remove this from the patch queue.

> 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-1379.patch, 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.


[jira] Updated: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (HADOOP-1379) Integrate Findbugs into nightly build process

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nigel Daley resolved HADOOP-1379.
---------------------------------

    Resolution: Fixed

Nightly build now runs Findbugs and creates the artifact named
hadoop-findbugs-report.html

> 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-1379.patch, 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.