Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Build Infrastructure
    • None

    Description

      see HIVE-1172 and HIVE-2169
      it was used default rules.
      exclude filter file is in findbugs\findbugs-exclude.xml
      the result of xml files to html file is not added because no style files.

      Attachments

        1. HIVE-3099-1.patch
          7 kB
          Zhiqiang He

        Issue Links

          Activity

            ransom Zhiqiang He added a comment -

            add findbugs paths.
            please review it.

            ransom Zhiqiang He added a comment - add findbugs paths. please review it.
            ransom Zhiqiang He added a comment -

            build success in my environment.

            ivy-init-settings:
            [echo] Project: hive

            ivy-resolve-findbugs:
            [echo] Project: hive
            [ivy:resolve] :: loading settings :: file = /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/ivy/ivysettings.xml

            ivy-retrieve-findbugs:
            [echo] Project: hive
            [ivy:retrieve] conflict on /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/ivy/lib/findbugs/xml-apis.jar in [findbugs]: 1.0.b2 won

            check-for-findbugs:
            [echo] Project: hive

            findbugs:
            [echo] Project: hive
            [mkdir] Created dir: /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs
            [findbugs] Executing findbugs from ant task
            [findbugs] Running FindBugs...
            [findbugs] Warnings generated: 578
            [findbugs] Missing classes: 1
            [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 /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs/findbugs-report.xml

            BUILD SUCCESSFUL
            Total time: 2 minutes 13 seconds
            [CHECKSTYLE] Collecting checkstyle analysis files...
            [CHECKSTYLE] Parsing 1 files in /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace
            [CHECKSTYLE] Successfully parsed file /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/checkstyle/checkstyle-errors.xml of module with 5490 warnings.
            [CHECKSTYLE] Computing warning deltas based on reference build #19
            [FINDBUGS] Collecting findbugs analysis files...
            [FINDBUGS] Parsing 1 files in /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace
            [FINDBUGS] Successfully parsed file /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs/findbugs-report.xml of module with 578 warnings.
            [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #19
            Finished: SUCCESS

            ransom Zhiqiang He added a comment - build success in my environment. ivy-init-settings: [echo] Project: hive ivy-resolve-findbugs: [echo] Project: hive [ivy:resolve] :: loading settings :: file = /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/ivy/ivysettings.xml ivy-retrieve-findbugs: [echo] Project: hive [ivy:retrieve] conflict on /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/ivy/lib/findbugs/xml-apis.jar in [findbugs] : 1.0.b2 won check-for-findbugs: [echo] Project: hive findbugs: [echo] Project: hive [mkdir] Created dir: /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs [findbugs] Executing findbugs from ant task [findbugs] Running FindBugs... [findbugs] Warnings generated: 578 [findbugs] Missing classes: 1 [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 /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs/findbugs-report.xml BUILD SUCCESSFUL Total time: 2 minutes 13 seconds [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Parsing 1 files in /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace [CHECKSTYLE] Successfully parsed file /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/checkstyle/checkstyle-errors.xml of module with 5490 warnings. [CHECKSTYLE] Computing warning deltas based on reference build #19 [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Parsing 1 files in /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace [FINDBUGS] Successfully parsed file /opt/jenkins/jenkins_home/jobs/Hive-trunk-h1.0.0/workspace/build/findbugs/findbugs-report.xml of module with 578 warnings. [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #19 Finished: SUCCESS
            ransom Zhiqiang He added a comment -

            please review it . thanks.

            ransom Zhiqiang He added a comment - please review it . thanks.

            .Tested find bug generates output. +1 will commit.

            appodictic Edward Capriolo added a comment - .Tested find bug generates output. +1 will commit.

            Nice work. This should be very helpful.

            appodictic Edward Capriolo added a comment - Nice work. This should be very helpful.
            hudson Hudson added a comment -

            Integrated in Hive-trunk-h0.21 #1477 (See https://builds.apache.org/job/Hive-trunk-h0.21/1477/)
            HIVE-3099. add findbugs in build.xml (Ransom Hezhiqiang via egc) (Revision 1348521)

            Result = FAILURE
            ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1348521
            Files :

            • /hive/trunk/build.xml
            • /hive/trunk/findbugs
            • /hive/trunk/findbugs/findbugs-exclude.xml
            • /hive/trunk/ivy.xml
            • /hive/trunk/ivy/libraries.properties
            hudson Hudson added a comment - Integrated in Hive-trunk-h0.21 #1477 (See https://builds.apache.org/job/Hive-trunk-h0.21/1477/ ) HIVE-3099 . add findbugs in build.xml (Ransom Hezhiqiang via egc) (Revision 1348521) Result = FAILURE ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1348521 Files : /hive/trunk/build.xml /hive/trunk/findbugs /hive/trunk/findbugs/findbugs-exclude.xml /hive/trunk/ivy.xml /hive/trunk/ivy/libraries.properties
            hudson Hudson added a comment -

            Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
            HIVE-3099. add findbugs in build.xml (Ransom Hezhiqiang via egc) (Revision 1348521)

            Result = ABORTED
            ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1348521
            Files :

            • /hive/trunk/build.xml
            • /hive/trunk/findbugs
            • /hive/trunk/findbugs/findbugs-exclude.xml
            • /hive/trunk/ivy.xml
            • /hive/trunk/ivy/libraries.properties
            hudson Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3099 . add findbugs in build.xml (Ransom Hezhiqiang via egc) (Revision 1348521) Result = ABORTED ecapriolo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1348521 Files : /hive/trunk/build.xml /hive/trunk/findbugs /hive/trunk/findbugs/findbugs-exclude.xml /hive/trunk/ivy.xml /hive/trunk/ivy/libraries.properties

            This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

            ashutoshc Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

            People

              ransom Zhiqiang He
              ransom Zhiqiang He
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: