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

NPE in Drillbit.java in close method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.14.0
    • Execution - Flow
    • git.commit.id=bb07ebbb9ba8742f44689f8bd8efb5853c5edea0

    Description

      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

      /opt/mapr/drill/drill-1.12.0/logs/drillbit.out
      

      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)

      
      

       

      Attachments

        Issue Links

          Activity

            People

              vdonapati Venkata Jyothsna Donapati
              khfaraaz Khurram Faraaz
              Sorabh Hamirwasia Sorabh Hamirwasia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: