[
https://issues.apache.org/jira/browse/HBASE-29155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dávid Paksy resolved HBASE-29155.
---------------------------------
Resolution: Not A Problem
> Website build fails with checkstyle parse error
> -----------------------------------------------
>
> Key: HBASE-29155
> URL: https://issues.apache.org/jira/browse/HBASE-29155
> Project: HBase
> Issue Type: Bug
> Components: build
> Reporter: Dávid Paksy
> Assignee: Dávid Paksy
> Priority: Major
> Labels: pull-request-available
>
> Right now on master branch the website build fails with the following error:
> {noformat}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.12.0:site (default-site) on
> project hbase: Error generating
> maven-checkstyle-plugin:3.1.0:checkstyle-aggregate report: Failed during
> checkstyle configuration: Exception was thrown while processing
> /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-6668/yetus-general-check/src/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java:
> IllegalStateException occurred while parsing file
> /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-6668/yetus-general-check/src/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java.
>
> /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-6668/yetus-general-check/src/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java:43:35:
> expecting RPAREN, found 'other' -> [Help 1]
> {noformat}
> Affects {{master}} and {{branch-3}} branch.
> It seems that checkstyle is not able to parse ReplicaKey.java (because of
> instanceOf pattern match).
> Either ReplicaKey.java can be edited to not to use instanceOf pattern
> matching feature or we can upgrade checktyle to newer version which supports
> this syntax.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)