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

Dávid Paksy updated HBASE-29609:
--------------------------------
    Description: 
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.

 

  was:
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.

 


> Upgrade checkstyle and Maven checkstyle plugin
> ----------------------------------------------
>
>                 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
>
> 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)

Reply via email to