hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19662) hbase-metrics-api fails checkstyle due to wrong import order
Date Fri, 29 Dec 2017 15:54:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306354#comment-16306354

Mike Drob commented on HBASE-19662:

What I suspect is happening is that instead of using the current ruleset, that job is downloading
the old checkstyle jar from snapshots repo and using ruleset from there (which hasn't been
updated for new import order rules).

can somebody manually deploy the latest snapshot and see if that fixes things?

> hbase-metrics-api fails checkstyle due to wrong import order
> ------------------------------------------------------------
>                 Key: HBASE-19662
>                 URL: https://issues.apache.org/jira/browse/HBASE-19662
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 19662.v1.txt
> In recent trunk builds, there were the following errors:
> {code}
> [ERROR] src/main/java/org/apache/hadoop/hbase/metrics/MetricRegistriesLoader.java:[31]
(imports) ImportOrder: Wrong order for 'org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting'
> [ERROR] src/test/java/org/apache/hadoop/hbase/metrics/TestMetricRegistriesLoader.java:[28]
(imports) ImportOrder: Wrong order for 'org.apache.hbase.thirdparty.com.google.common.collect.Lists'
> {code}

This message was sent by Atlassian JIRA

View raw message