Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28499

Intellij Idea2024 can't import iceberg&hive checkstyle files

    XMLWordPrintableJSON

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

        1. idea2024-checkstyle-8.28.jpg
          34 kB
          Butao Zhang
        2. idea2024-checkstyle-tool-error.jpg
          73 kB
          Butao Zhang
        3. idea2024-hive-checkstyle-8.28versiion-failed.jpg
          73 kB
          Butao Zhang
        4. idea2024-import-iceberg-checkstyle_1.jpg
          34 kB
          Butao Zhang
        5. idea2024-import-iceberg-checkstyle_2.jpg
          58 kB
          Butao Zhang
        6. idea2024-import-iceberg-checkstyle_error_3.jpg
          40 kB
          Butao Zhang
        7. idea2024-with-checkstyle-plugin-5.86.0.jpg
          19 kB
          Butao Zhang
        8. install_checkstyle_plugin.jpg
          19 kB
          Butao Zhang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhangbutao Butao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: