Dávid Paksy created HBASE-29609:
-----------------------------------
Summary: Upgrade checkstyle and Maven checkstyle plugin
Key: HBASE-29609
URL: https://issues.apache.org/jira/browse/HBASE-29609
Project: HBase
Issue Type: Improvement
Reporter: Dávid Paksy
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}
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)