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

Ethan Guo updated HUDI-8012:
----------------------------
    Story Points: 4

> Update checkstyle.xml based on the new release
> ----------------------------------------------
>
>                 Key: HUDI-8012
>                 URL: https://issues.apache.org/jira/browse/HUDI-8012
>             Project: Apache Hudi
>          Issue Type: New Feature
>            Reporter: Ethan Guo
>            Assignee: Ethan Guo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0, 0.15.1
>
>
> checkstyle.xml works with older checkstyle release, 8.20, only.  We need to 
> make it work with recent checkstyle releases in IntelliJ(e.g., 10.12.5), see 
> following error.
> {code:java}
> com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize 
> module TreeWalker - TreeWalker is not allowed as a parent of LineLength 
> Please review 'Parent Module' section for this Check in web documentation if 
> Check is standard.
>     at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:486)
>     at 
> com.puppycrawl.tools.checkstyle.AbstractAutomaticBean.configure(AbstractAutomaticBean.java:207)
>     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:130)
>     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:46)
> Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: 
> TreeWalker is not allowed as a parent of LineLength Please review 'Parent 
> Module' section for this Check in web documentation if Check is standard.
>     at 
> com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:140)
>     at 
> com.puppycrawl.tools.checkstyle.AbstractAutomaticBean.configure(AbstractAutomaticBean.java:207)
>     at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:481)
>     ... 7 more {code}



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

Reply via email to