Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4836

ZK Issue during Drillbit startup, possibly due to race condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • Server
    • None

    Description

      During a parallel launch of Drillbits on a 4 node cluster, I hit this issue during startup:

      Exception in thread "main" org.apache.drill.exec.exception.DrillbitStartupException: Failure during initial startup of Drillbit.
              at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:284)
              at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:261)
              at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:257)
      Caused by: org.apache.drill.common.exceptions.DrillRuntimeException: unable to put
              at org.apache.drill.exec.coord.zk.ZookeeperClient.put(ZookeeperClient.java:196)
              at org.apache.drill.exec.store.sys.store.ZookeeperPersistentStore.putIfAbsent(ZookeeperPersistentStore.java:94)
              ...
              at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:113)
              at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:281)
              ... 2 more
      Caused by: org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /drill/sys.storage_plugins/dfs
              at org.apache.drill.exec.coord.zk.ZookeeperClient.put(ZookeeperClient.java:191)
              ... 7 more
      

      And similarly,

      Caused by: org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /drill/sys.storage_plugins/kudu
      

      Attachments

        Issue Links

          Activity

            People

              paul-rogers Paul Rogers
              agirish Abhishek Girish
              Abhishek Girish Abhishek Girish
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: