Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
I upgraded my Intellij from 2022 to 2024 version, and i found that i can't import iceberg&hive checkstyle files.
IntelliJ IDEA 2024.2.1 (Ultimate Edition) Build #IU-242.21829.142, built on August 28, 2024
Here are some screen shot & steps of my Intellij 2024:
1. Install CheckStyle-IDEA plugin
2. import hive-iceberg checkstyle files using Code Style setting
import this file https://github.com/apache/hive/blob/master/iceberg/checkstyle/checkstyle.xml
3. import checkstyle failed
4. Checkstyle tool also failed
com.puppycrawl.tools.checkstyle.api.CheckstyleException: SuppressWithNearbyCommentFilter is not allowed as a child in Checker at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:501) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:201) at org.infernus.idea.checkstyle.service.cmd.OpCreateChecker.execute(OpCreateChecker.java:61) at org.infernus.idea.checkstyle.service.cmd.OpCreateChecker.execute(OpCreateChecker.java:26) at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.executeCommand(CheckstyleActionsImpl.java:116) at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.createChecker(CheckstyleActionsImpl.java:60) at org.infernus.idea.checkstyle.service.CheckstyleActionsImpl.createChecker(CheckstyleActionsImpl.java:51) at org.infernus.idea.checkstyle.checker.CheckerFactoryWorker.run(CheckerFactoryWorker.java:42)
Attachments
Attachments
Issue Links
- is related to
-
HIVE-28514 Iceberg: Fix checkstyle file to adapt new checkstyle version
- Resolved
- relates to
-
HIVE-28072 Check style in Hive Github PRs
- Open