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 "John Zhuge (JIRA)" <ji...@apache.org> on 2016/05/16 21:27:13 UTC

[jira] [Commented] (HADOOP-13160) Suppress checkstyle JavadocPackage error for test source files

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

John Zhuge commented on HADOOP-13160:
-------------------------------------

Run the following script to find out the number of all test files in all Hadoop components with "Missing package-info" checkstyle error:
{code}
find * -name 'checkstyle-errors.xml' | xargs cat | grep '^<file\|Missing pack' | grep -B1 'Missing pack' | grep -c 'src/test'
{code}

Before the patch, the count was 394; after the patch, it should be 0.

> Suppress checkstyle JavadocPackage error for test source files
> --------------------------------------------------------------
>
>                 Key: HADOOP-13160
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13160
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.7.2
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HADOOP-13160.001.patch
>
>
> Suppress "Missing package-info.java" checkstyle error for test source files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org