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