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

xbchao updated KYLIN-5134:
--------------------------
    Issue Type: Bug  (was: New Feature)

> Start kylin4.0,cache.PathChildrenCache:571 : java.lang.IllegalStateException: 
> instance must be started before calling this method
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5134
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5134
>             Project: Kylin
>          Issue Type: Bug
>          Components: Environment 
>    Affects Versions: v4.0.0
>            Reporter: xbchao
>            Priority: Major
>
> When i start kylin4.0,the kylin.log write:
> 2021-11-24 03:09:21,660 ERROR [KylinServerTracker-0] 
> cache.PathChildrenCache:571 :
> java.lang.IllegalStateException: instance must be started before calling this 
> method
>         at 
> org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:176)
>         at 
> org.apache.curator.framework.imps.CuratorFrameworkImpl.getChildren(CuratorFrameworkImpl.java:391)
>         at 
> org.apache.curator.framework.recipes.cache.PathChildrenCache.refresh(PathChildrenCache.java:508)
>         at 
> org.apache.curator.framework.recipes.cache.RefreshOperation.invoke(RefreshOperation.java:35)
>         at 
> org.apache.curator.framework.recipes.cache.PathChildrenCache$9.run(PathChildrenCache.java:773)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> 2021-11-24 03:09:21,662 INFO  [Thread-5] zookeeper.ZooKeeper:693 : Session: 
> 0x1000003da3a000f closed
> 2021-11-24 03:09:21,662 INFO  [localhost-startStop-1-EventThread] 
> zookeeper.ClientCnxn:522 : EventThread shut down for session: 
> 0x1000003da3a000f
> 2021-11-24 03:09:21,667 INFO  [Thread-5] curator.CuratorLeaderSelector:95 : 
> ip-kylinlocalhost:7070 is stopped
> 2021-11-24 03:09:21,667 ERROR [Curator-LeaderSelector-0] 
> curator.CuratorLeaderSelector:107 :  ip-kylinlocalhost:7070 was interrupted.
> java.lang.InterruptedException: sleep interrupted
>         at java.lang.Thread.sleep(Native Method)
>         at 
> org.apache.kylin.job.impl.curator.CuratorLeaderSelector.takeLeadership(CuratorLeaderSelector.java:104)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector$WrappedListener.takeLeadership(LeaderSelector.java:559)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:421)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector.doWorkLoop(LeaderSelector.java:466)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector.access$100(LeaderSelector.java:65)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:246)
>         at 
> org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:240)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to