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

        1.
        Enforce clean findbugs in PRs Sub-task Closed Mustafa İman

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 1h 40m
        2.
        Explore moving to SpotBugs Sub-task Closed Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 1.5h
        3.
        Fix FindBug issues in storage-api Sub-task Closed Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 2h
        4.
        Fix Spotbugs issues in hive-shims Sub-task Closed Mustafa İman

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 20m
        5.
        Fix Spotbugs issues in hive-standalone-metastore-common Sub-task Closed Mustafa İman

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 20m
        6.
        Fix FindBug issues in hive-common Sub-task Closed Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 2h 40m
        7.
        Fix FindBug issues in hive-service-rpc Sub-task Closed Mustafa İman

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 20m
        8.
        Fix FindBug issues in hive-cli Sub-task In Progress Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 50m
        9.
        Fix FindBug issues in hive-contrib Sub-task In Progress Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 50m
        10.
        Fix FindBug issues in hive-druid-handler Sub-task In Progress Panagiotis Garefalakis

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 50m
        11.
        Fix FindBug issues in hive-accumulo-handler Sub-task Open Unassigned  
        12.
        Fix FindBug issues in hive-vector-code-gen Sub-task Open Unassigned

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 0.5h
        13.
        Fix FindBug issues in hive-beeline Sub-task Open Unassigned  
        14.
        Fix FindBug issues in hive-hbase-handler Sub-task Open Unassigned  
        15.
        Fix FindBug issues in hive-jdbc-handler Sub-task Open Unassigned  
        16.
        Fix FindBug issues in hive-hplsql Sub-task Open Unassigned  
        17.
        Fix FindBug issues in hive-jdbc Sub-task Open David Mollitor

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 0.5h
        18.
        Fix FindBug issues in hive-parser Sub-task Open Unassigned  
        19.
        Fix FindBug issues in hive-udf Sub-task Open Unassigned  
        20.
        Fix FindBug issues in hive-ql Sub-task Open Unassigned  
        21.
        Fix FindBug issues in hive-serde Sub-task Patch Available Unassigned

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 40m
        22.
        Fix FindBug issues in hive-service Sub-task Open Unassigned  
        23.
        Fix FindBug issues in hive-streaming Sub-task Open Unassigned

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 0.5h
        24.
        Fix FindBug issues in llap-common Sub-task Open Unassigned  
        25.
        Fix FindBug issues in llap-client Sub-task Open Unassigned  
        26.
        Fix FindBug issues in llap-ext-client Sub-task Open Unassigned  
        27.
        Fix FindBug issues in llap-tez Sub-task Open Unassigned  
        28.
        Fix FindBug issues in llap-server Sub-task Open Unassigned  
        29.
        Fix FindBug issues in spark-client Sub-task Open Unassigned  
        30.
        Fix FindBug issues in hive-kudu-handler Sub-task Open Unassigned  

        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