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

Failure during loading of RepeatedCount functions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.17.0
    • Component/s: None
    • Labels:

      Description

      Steps:

      1. Start Drillbit
      2. Look at the drillbit.log

      Expected result: No exceptions should be present.

      Actual result:
      Null Pointer Exceptions occur:

      2019-11-06 03:06:40,401 [main] WARN  o.a.d.exec.expr.fn.FunctionConverter - Failure loading function class org.apache.drill.exec.expr.fn.impl.RepeatedCountFunctions$RepeatedCountRepeatedDict, field input. Message: Failure while trying to access the ValueHolder's TYPE static variable.  All ValueHolders must contain a static TYPE variable that defines their MajorType.
      java.lang.NullPointerException: null
      	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[na:1.8.0_171]
      	at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) ~[na:1.8.0_171]
      	at java.lang.reflect.Field.get(Field.java:393) ~[na:1.8.0_171]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getStaticFieldValue(FunctionConverter.java:220) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:136) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.validate(LocalFunctionRegistry.java:130) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.<init>(LocalFunctionRegistry.java:88) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:113) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:118) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:222) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:581) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:551) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:547) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      2019-11-06 03:06:40,402 [main] WARN  o.a.d.e.e.f.r.LocalFunctionRegistry - Unable to initialize function for class org.apache.drill.exec.expr.fn.impl.RepeatedCountFunctions$RepeatedCountRepeatedDict
      2019-11-06 03:06:40,487 [main] WARN  o.a.d.exec.expr.fn.FunctionConverter - Failure loading function class org.apache.drill.exec.expr.fn.impl.gaggr.CountFunctions$RepeatedDictCountFunction, field in. Message: Failure while trying to access the ValueHolder's TYPE static variable.  All ValueHolders must contain a static TYPE variable that defines their MajorType.
      java.lang.NullPointerException: null
      	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[na:1.8.0_171]
      	at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) ~[na:1.8.0_171]
      	at java.lang.reflect.Field.get(Field.java:393) ~[na:1.8.0_171]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getStaticFieldValue(FunctionConverter.java:220) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:136) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.validate(LocalFunctionRegistry.java:130) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.<init>(LocalFunctionRegistry.java:88) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:113) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:118) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:222) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:581) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:551) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:547) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      2019-11-06 03:06:40,488 [main] WARN  o.a.d.e.e.f.r.LocalFunctionRegistry - Unable to initialize function for class org.apache.drill.exec.expr.fn.impl.gaggr.CountFunctions$RepeatedDictCountFunction
      2019-11-06 03:06:40,529 [main] WARN  o.a.d.exec.expr.fn.FunctionConverter - Failure loading function class org.apache.drill.exec.expr.fn.impl.RepeatedCountFunctions$RepeatedCountRepeatedDict, field input. Message: Failure while trying to access the ValueHolder's TYPE static variable.  All ValueHolders must contain a static TYPE variable that defines their MajorType.
      java.lang.NullPointerException: null
      	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[na:1.8.0_171]
      	at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) ~[na:1.8.0_171]
      	at java.lang.reflect.Field.get(Field.java:393) ~[na:1.8.0_171]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getStaticFieldValue(FunctionConverter.java:220) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:136) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.register(LocalFunctionRegistry.java:174) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.<init>(LocalFunctionRegistry.java:89) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:113) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:118) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:222) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:581) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:551) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:547) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      2019-11-06 03:06:40,580 [main] WARN  o.a.d.exec.expr.fn.FunctionConverter - Failure loading function class org.apache.drill.exec.expr.fn.impl.gaggr.CountFunctions$RepeatedDictCountFunction, field in. Message: Failure while trying to access the ValueHolder's TYPE static variable.  All ValueHolders must contain a static TYPE variable that defines their MajorType.
      java.lang.NullPointerException: null
      	at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[na:1.8.0_171]
      	at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) ~[na:1.8.0_171]
      	at java.lang.reflect.Field.get(Field.java:393) ~[na:1.8.0_171]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getStaticFieldValue(FunctionConverter.java:220) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:136) ~[drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.register(LocalFunctionRegistry.java:174) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.registry.LocalFunctionRegistry.<init>(LocalFunctionRegistry.java:89) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:113) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:118) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:222) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:581) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:551) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      	at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:547) [drill-java-exec-1.17.0-SNAPSHOT.jar:1.17.0-SNAPSHOT]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bohdan Bohdan Kazydub
                Reporter:
                angozhiy Anton Gozhiy
                Reviewer:
                Igor Guzenko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: