[
https://issues.apache.org/jira/browse/HCATALOG-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410564#comment-13410564
]
Travis Crawford commented on HCATALOG-447:
------------------------------------------
Running this command on a clean trunk I'm able to run findbugs:
{code}
ant -Dfindbugs.home=/usr/local/findbugs-2.0.1-rc4 findbugs
{code}
However, you're right the recent hcatalog-pig-adaptor change did break
something - the new jar is not being included in the analysis. Will fix.
{code}
findbugs:
[findbugs] Executing findbugs from ant task
[findbugs] Running FindBugs...
[findbugs] The following classes needed for analysis were missing:
[findbugs] org.apache.hadoop.hive.service.HiveClient
[findbugs] jline.Completor
[findbugs] jline.ArgumentCompletor$ArgumentDelimiter
[findbugs] jline.ArgumentCompletor
[findbugs] org.apache.hadoop.hive.service.HiveServerException
[findbugs] jline.SimpleCompletor
[findbugs] jline.ArgumentCompletor$AbstractArgumentDelimiter
[findbugs] jline.ConsoleReader
[findbugs] jline.History
[findbugs] Warnings generated: 31
[findbugs] Missing classes: 6
[findbugs] Calculating exit code...
[findbugs] Setting 'missing class' flag (2)
[findbugs] Setting 'bugs found' flag (1)
[findbugs] Exit code set to: 3
[findbugs] Java Result: 3
[findbugs] Classes needed for analysis were missing
[findbugs] Output saved to
/Users/travis/src/hcatalog/build/test/findbugs/hcat-findbugs-report.xml
[xslt] Processing
/Users/travis/src/hcatalog/build/test/findbugs/hcat-findbugs-report.xml to
/Users/travis/src/hcatalog/build/test/findbugs/hcat-findbugs-report.html
[xslt] Loading stylesheet /usr/local/findbugs-2.0.1-rc4/src/xsl/default.xsl
{code}
> findbugs target doesn't work in trunk
> -------------------------------------
>
> Key: HCATALOG-447
> URL: https://issues.apache.org/jira/browse/HCATALOG-447
> Project: HCatalog
> Issue Type: Bug
> Components: build
> Affects Versions: 0.5
> Reporter: Alan Gates
> Assignee: Travis Crawford
> Fix For: 0.5
>
>
> Doing "ant findbugs" results in:
> {code}
> findbugs:
> [mkdir] Created dir: /Users/gates/src/hcat/top/trunk/build/test/findbugs
> BUILD FAILED
> /Users/gates/src/hcat/top/trunk/build.xml:477: findbugs doesn't support the
> nested "fileset" element.
> {code}
--
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