Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7655ECBFA for ; Thu, 3 May 2012 15:23:12 +0000 (UTC) Received: (qmail 33740 invoked by uid 500); 3 May 2012 15:23:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 33699 invoked by uid 500); 3 May 2012 15:23:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 33691 invoked by uid 99); 3 May 2012 15:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 15:23:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 15:23:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 051CB42D6B7 for ; Thu, 3 May 2012 15:22:51 +0000 (UTC) Date: Thu, 3 May 2012 15:22:51 +0000 (UTC) From: "Robert Joseph Evans (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <988521482.22145.1336058571035.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1689513580.18179.1335982733543.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8344) Improve test-patch to make it easier to find javadoc warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267494#comment-13267494 ] Robert Joseph Evans commented on HADOOP-8344: --------------------------------------------- Talking with Tom White about this on a different JIRA the original idea was to remove OK_JAVADOCS entirely. Javadocs are something that should always be simple to fix before checking in a patch. There really should never be any OK javadoc warnings. There is one exception for this in that when we use sun internal APIs javadoc spits out a warning that we cannot really fix. There are currently only 6 of these. I am OK with putting in a framework to filter the warnings more explicitly, and on a per project basis. This comment is just to give some context on the changes made so far and the reasoning for the direction we have been going in. > Improve test-patch to make it easier to find javadoc warnings > ------------------------------------------------------------- > > Key: HADOOP-8344 > URL: https://issues.apache.org/jira/browse/HADOOP-8344 > Project: Hadoop Common > Issue Type: Improvement > Components: build, test > Reporter: Todd Lipcon > Priority: Minor > > Often I have to spend a lot of time digging through logs to find javadoc warnings as the result of a test-patch. Similar to the improvement made in HADOOP-8339, we should do the following: > - test-patch should only run javadoc on modules that have changed > - the exclusions "OK_JAVADOC" should be per-project rather than cross-project > - rather than just have a number, we should check in the actual list of warnings to ignore and then fuzzy-match the patch warnings against the exclude list. -- 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