You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2025/09/20 05:34:00 UTC

[jira] [Reopened] (HBASE-29609) Upgrade checkstyle and Maven checkstyle plugin to fix site build failure

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

Duo Zhang reopened HBASE-29609:
-------------------------------

> Upgrade checkstyle and Maven checkstyle plugin to fix site build failure
> ------------------------------------------------------------------------
>
>                 Key: HBASE-29609
>                 URL: https://issues.apache.org/jira/browse/HBASE-29609
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Dávid Paksy
>            Assignee: Dávid Paksy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0-beta-2
>
>
> Right now our website build fails in the checkstyle check on master:
> {noformat}
> Caused by: java.lang.IllegalStateException: /home/jenkins/70ad3735/workspace/hbase_generate_website/hbase/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RestoreBackupSystemTableProcedure.java:103:47: expecting COLON, found ','{noformat}
> [https://ci-hbase.apache.org/job/hbase_generate_website/806/artifact/hbase-site-log-0f11becf47612de1af5c39fcc26ccb626a0dc310.txt]
>  
> The problematic code line:
> {noformat}
> case RESTORE_BACKUP_SYSTEM_TABLE_DISABLE, RESTORE_BACKUP_SYSTEM_TABLE_PREPARE:{noformat}
> It seems our current checkstyle version does not like multiple values on the same case statement.
> RestoreBackupSystemTableProcedure was just introduced under https://issues.apache.org/jira/browse/HBASE-29448.
> Upgrading checkstyle and the Maven plugin seems to fix the issue.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)