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

Butao Zhang updated HIVE-28499:
-------------------------------
    Attachment: idea2024-checkstyle-8.28.jpg

> Intellij Idea2024 can't import iceberg&hive checkstyle files
> ------------------------------------------------------------
>
>                 Key: HIVE-28499
>                 URL: https://issues.apache.org/jira/browse/HIVE-28499
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Butao Zhang
>            Priority: Major
>         Attachments: idea2024-checkstyle-8.28.jpg, 
> idea2024-checkstyle-tool-error.jpg, idea2024-import-iceberg-checkstyle_1.jpg, 
> idea2024-import-iceberg-checkstyle_2.jpg, 
> idea2024-import-iceberg-checkstyle_error_3.jpg, install_checkstyle_plugin.jpg
>
>
> I upgraded my Intellij from 2022 to 2024 version, and i found that i can't 
> import iceberg&hive checkstyle files.
> {code:java}
> IntelliJ IDEA 2024.2.1 (Ultimate Edition)
> Build #IU-242.21829.142, built on August 28, 2024{code}
> Here are some screen shot & steps of my Intellij 2024:
> 1. Install CheckStyle-IDEA plugin
> !install_checkstyle_plugin.jpg!
> 2. import hive-iceberg checkstyle files using Code Style setting
> !idea2024-import-iceberg-checkstyle_1.jpg!
>  
> import this file 
> [https://github.com/apache/hive/blob/master/iceberg/checkstyle/checkstyle.xml]
> !idea2024-import-iceberg-checkstyle_2.jpg!
>  
> 3. import checkstyle failed
> !idea2024-import-iceberg-checkstyle_error_3.jpg!
>  
> 4. Checkstyle tool also failed
> {code:java}
> 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)
>  {code}
> !idea2024-checkstyle-tool-error.jpg!
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to