Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5134

Start kylin4.0,cache.PathChildrenCache:571 : java.lang.IllegalStateException: instance must be started before calling this method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • v4.0.0
    • None
    • Environment
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xbchao xbchao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: