You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC

[jira] [Updated] (HIVE-23613) Cleanup FindBugs

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

Stamatis Zampetakis updated HIVE-23613:
---------------------------------------
    Fix Version/s:     (was: 4.0.0)

I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.

According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.

> Cleanup FindBugs
> ----------------
>
>                 Key: HIVE-23613
>                 URL: https://issues.apache.org/jira/browse/HIVE-23613
>             Project: Hive
>          Issue Type: Bug
>            Reporter: László Bodor
>            Priority: Major
>
> Let this Jira be an umbrella for an effort of cleaning up the enormous amount of FindBugs warnings in Hive project.
> Old way using findbugs:
> {code}
> mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
> {code}
> New way using spotbugs (where -pl use the module you want to check):
> {code}
> mvn -Pspotbugs -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugin.surefire.SurefirePlugin=INFO -pl :hive-storage-api -am test-compile com.github.spotbugs:spotbugs-maven-plugin:4.0.0:check
> {code}
> outputs
> {code}
> find . -name findbugsXml.xml
> find . -name spotbugsXml.xml
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)