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

Drillbits fail to start when Drill server built with JDK 8 is deployed on a JDK 7 environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.0
    • None
    • None

    Description

      When Drill is built on a node configured with JDK 8 and is then deployed in a JDK 7 environment, Drillbits fail to start and the following errors are seen in Drillbit.out:

      Exception in thread "main" java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
              at org.apache.drill.exec.coord.ClusterCoordinator.drillbitRegistered(ClusterCoordinator.java:85)
              at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.updateEndpoints(ZKClusterCoordinator.java:266)
              at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.start(ZKClusterCoordinator.java:135)
              at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:117)
              at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:292)
              at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:272)
              at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:268)
      

      Workaround is to match the Java versions of build and deployment environments.

      Attachments

        Activity

          People

            Unassigned Unassigned
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: