Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23613

Cleanup FindBugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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:

      mvn -DskipTests test-compile findbugs:findbugs -DskipTests=true
      

      New way using spotbugs (where -pl use the module you want to check):

      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
      

      outputs

      find . -name findbugsXml.xml
      find . -name spotbugsXml.xml
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            abstractdog László Bodor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 13.5h
                13.5h