taklwu commented on PR #8522:
URL: https://github.com/apache/hbase/pull/8522#issuecomment-5209570586
> I routinely run
>
> ```
> mvn -pl hbase-server spotless:apply
> mvn -pl hbase-server spotless:check
> ```
>
> This is probably checkstyle error, which spotless can catch. Will double
check. Checkstyle outputs a lot of errors, it's hard to catch which one you are
responsible for.
I thought you have the access to download the result, where the
patch-spotless.txt shows the error is from `TopologyBackedCacheAccessService`
```
[ERROR] Failed to execute goal
com.diffplug.spotless:spotless-maven-plugin:2.44.4:check (default-cli) on
project hbase-server: The following files had format violations:
[ERROR]
src/main/java/org/apache/hadoop/hbase/io/hfile/cache/TopologyBackedCacheAccessService.java
[ERROR] @@ -32,7 +32,6 @@
[ERROR] import·org.apache.hadoop.hbase.util.Pair;
[ERROR] import·org.apache.yetus.audience.InterfaceAudience;
[ERROR]
[ERROR] -
[ERROR] /**
[ERROR]
·*·{@link·CacheAccessService}·implementation·backed·by·{@link·CacheTopology}·and·{@link·CacheEngine}
[ERROR] ·*·instances.
[ERROR] Run 'mvn spotless:apply' to fix these violations.
[ERROR] -> [Help 1]
```
I recalled running mvn spotless:apply at the root level would fix the
problem, doesn't it ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]