[ 
https://issues.apache.org/jira/browse/HBASE-23690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016100#comment-17016100
 ] 

Michael Stack commented on HBASE-23690:
---------------------------------------

See note by [~bharathv] at end of HBASE-23242.

Let me change this patch so its a doc update instead... one that notes what 
you've written above. I can see the intellij and hbase checkstyle versions 
rarely agreeing so this info will remain relevant going forward.

> Checkstyle plugin complains about our checkstyle.xml format
> -----------------------------------------------------------
>
>                 Key: HBASE-23690
>                 URL: https://issues.apache.org/jira/browse/HBASE-23690
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Michael Stack
>            Priority: Trivial
>
> Trying to add the checkstyle.xml to the intellij checkstyle plugin after 
> reading HBASE-23688, it complains with the following when it reads in the 
> config file:
> {code}
> 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:473)
>       at 
> com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:198)
>       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:147)
>       at 
> com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:198)
>       at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:468)
>       ... 7 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to