[
https://issues.apache.org/jira/browse/HBASE-29609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dávid Paksy resolved HBASE-29609.
---------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
> 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)