hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13592) Outputs errors and warnings by checkstyle at compile time
Date Mon, 12 Sep 2016 07:30:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tsuyoshi Ozawa updated HADOOP-13592:
            Assignee: Tsuyoshi Ozawa
    Target Version/s: 3.0.0-alpha1, 2.9.0  (was: 2.9.0, 3.0.0-alpha1)
              Status: Patch Available  (was: Open)

Attaching a patch to output errors and warnings at compile time by making consoleOutput true.
By default, maven-checkstyle-plugin will throw error and stop the compile. It's impossible
now to fix all and errors since the number is over 80000 errors, I suggest that failOnError
should be false for now.

In the future, after fixing all warnings, failOnError should be true. Ideally, failOnViolation
should be also true.

> Outputs errors and warnings by checkstyle at compile time
> ---------------------------------------------------------
>                 Key: HADOOP-13592
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13592
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Tsuyoshi Ozawa
>         Attachments: HADOOP-13592.001.patch
> Currently, Apache Hadoop has lots checkstyle errors and warnings, but it's not outputted
at compile time. This prevents us from fixing the errors and warnings.
> We should output errors and warnings at compile time.

This message was sent by Atlassian JIRA

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

View raw message