Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8020

Reduce the allowed Javadoc warnings from 13 to 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.23.1
    • None
    • build
    • None

    Description

      OK_JAVADOC_WARNINGS is set too high in hadoop-common-project/dev-support/test-patch.properties

      $ cd hadoop-common-project/
      $ mvn clean test javadoc:javadoc -DskipTests -Pdocs -DHadoopPatchProcess > ~/patchJavadocWarnings.txt.hadoop-trunk 2>&1
      $ grep '\[WARNING\]' ~/patchJavadocWarnings.txt.hadoop-trunk | awk '/Javadoc Warnings/,EOF' | grep warning | awk 'BEGIN {total = 0} {total += 1} END {print total}'
      11
      
      $ cat dev-support/test-patch.properties
      OK_RELEASEAUDIT_WARNINGS=0
      OK_FINDBUGS_WARNINGS=0
      OK_JAVADOC_WARNINGS=13
      

      This will allow in 2 new javadoc warnings and still +1 the build

      Attachments

        1. patchJavadocWarnings.txt.hadoop-trunk
          42 kB
          Jonathan Turner Eagles
        2. HADOOP-8020.patch
          0.4 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: