You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Eagles (Commented) (JIRA)" <ji...@apache.org> on 2012/02/04 03:25:54 UTC

[jira] [Commented] (HADOOP-8020) Reduce the allowed Javadoc warnings from 13 to 11

    [ https://issues.apache.org/jira/browse/HADOOP-8020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200278#comment-13200278 ] 

Jonathan Eagles commented on HADOOP-8020:
-----------------------------------------

Thanks for the catch Suresh. Updated the summary. I first it looked like this was a problem in both trunk and branch-0.23.
                
> Reduce the allowed Javadoc warnings from 13 to 11
> -------------------------------------------------
>
>                 Key: HADOOP-8020
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8020
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.1
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-8020.patch, patchJavadocWarnings.txt.hadoop-trunk
>
>
> OK_JAVADOC_WARNINGS is set too high in hadoop-common-project/dev-support/test-patch.properties
> {noformat}
> $ 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
> {noformat}
> {noformat}
> $ cat dev-support/test-patch.properties
> OK_RELEASEAUDIT_WARNINGS=0
> OK_FINDBUGS_WARNINGS=0
> OK_JAVADOC_WARNINGS=13
> {noformat}
> This will allow in 2 new javadoc warnings and still +1 the build

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira