You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Khurram Faraaz (JIRA)" <ji...@apache.org> on 2018/03/30 01:26:00 UTC

[jira] [Created] (DRILL-6302) NPE in Drillbit.java in close method

Khurram Faraaz created DRILL-6302:
-------------------------------------

             Summary: NPE in Drillbit.java in close method
                 Key: DRILL-6302
                 URL: https://issues.apache.org/jira/browse/DRILL-6302
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 1.13.0
         Environment: git.commit.id=bb07ebbb9ba8742f44689f8bd8efb5853c5edea0
            Reporter: Khurram Faraaz
            Assignee: Sorabh Hamirwasia


registrationHandle in the close method of Drillbit.java (line 228) is null, which causes an NPE and as a result the server does not close.

[https://github.com/mapr/private-drill/blob/drill-1.12.0-mapr/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java#L228]

registrationHandle = coord.update(registrationHandle, State.QUIESCENT);

Stack trace from drillbit.log
{noformat}
/opt/mapr/drill/drill-1.12.0/logs/drillbit.out
{noformat}
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Exception in thread "main" java.lang.NullPointerException
at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.update(ZKClusterCoordinator.java:223)
at org.apache.drill.exec.server.Drillbit.close(Drillbit.java:228)
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:401)
at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:372)
at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:368)
{noformat}{noformat}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)