[
https://issues.apache.org/jira/browse/DRILL-6302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448433#comment-16448433
]
ASF GitHub Bot commented on DRILL-6302:
---------------------------------------
Github user sohami commented on the issue:
https://github.com/apache/drill/pull/1217
+1 LGTM.
> 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: Venkata Jyothsna Donapati
> Priority: Major
> Labels: ready-to-commit
> Fix For: 1.14.0
>
>
> 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)