You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2017/02/28 21:23:45 UTC

[jira] [Created] (DRILL-5303) Drillbits fail to start when Drill server built with JDK 8 is deployed on a JDK 7 environment

Abhishek Girish created DRILL-5303:
--------------------------------------

             Summary: Drillbits fail to start when Drill server built with JDK 8 is deployed on a JDK 7 environment
                 Key: DRILL-5303
                 URL: https://issues.apache.org/jira/browse/DRILL-5303
             Project: Apache Drill
          Issue Type: Bug
          Components:  Server, Tools, Build & Test
    Affects Versions: 1.9.0
            Reporter: Abhishek Girish


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:

{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)