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

Cannot Start Apache Drill in Embedded mode on Windows Server 2019 Azure VM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • 1.17.0
    • None
    • Functions - Drill
    • None

    Description

      Hello,

      This may not be right place to post this error but i have tried to post on STackOverflow and got no response. Below is the Exception I am getting

      Setup:

      JDK - jdk-8u261-windows-x64.exe

      Windows Server 2019 Datacenter

      Opened all the Ports for DFS.

      Set HADOOP_HOME=

      C:\Users\XYZ\drill_repo\apache-drill-1.17.0\bin>sqlline.bat -u "jdbc:drill:zk=local"

       

      I get below exception: I go to C:\tmp\drill and that folder is empty

      Error: Failure in starting embedded Drillbit: UNSUPPORTED_OPERATION ERROR: Failure while attempting to load instance of the class of type org.apache.drill.exec.store.StoragePluginRegistry requested at path drill.exec.storage.registry.

      [Error Id: 79e53262-37a0-4c18-8f49-baf1e82ed292 ] (state=,code=0)
      java.sql.SQLException: Failure in starting embedded Drillbit: UNSUPPORTED_OPERATION ERROR: Failure while attempting to load instance of the class of type org.apache.drill.exec.store.StoragePluginRegistry requested at path drill.exec.storage.registry.

      [Error Id: 79e53262-37a0-4c18-8f49-baf1e82ed292 ]
      at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:137)
      at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:67)
      at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:67)
      at org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:138)
      at org.apache.drill.jdbc.Driver.connect(Driver.java:75)
      at sqlline.DatabaseConnection.connect(DatabaseConnection.java:135)
      at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:192)
      at sqlline.Commands.connect(Commands.java:1364)
      at sqlline.Commands.connect(Commands.java:1244)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
      at sqlline.SqlLine.dispatch(SqlLine.java:730)
      at sqlline.SqlLine.initArgs(SqlLine.java:410)
      at sqlline.SqlLine.begin(SqlLine.java:515)
      at sqlline.SqlLine.start(SqlLine.java:267)
      at sqlline.SqlLine.main(SqlLine.java:206)
      Caused by: org.apache.drill.common.exceptions.UserException: UNSUPPORTED_OPERATION ERROR: Failure while attempting to load instance of the class of type org.apache.drill.exec.store.StoragePluginRegistry requested at path drill.exec.storage.registry.

      [Error Id: 79e53262-37a0-4c18-8f49-baf1e82ed292 ]
      at org.apache.drill.common.exceptions.UserException$Builder.build(UserException.java:637)
      at org.apache.drill.common.config.DrillConfig.getInstance(DrillConfig.java:92)
      at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:113)
      at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:116)
      at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:221)
      at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:134)
      ... 18 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.apache.drill.common.config.DrillConfig.getInstance(DrillConfig.java:88)
      ... 22 more
      Caused by: java.lang.RuntimeException: Failure setting pstore configuration path.
      at org.apache.drill.exec.store.sys.store.LocalPersistentStore.<init>(LocalPersistentStore.java:69)
      at org.apache.drill.exec.store.sys.store.provider.LocalPersistentStoreProvider.getOrCreateStore(LocalPersistentStoreProvider.java:67)
      at org.apache.drill.common.util.function.CheckedFunction.apply(CheckedFunction.java:45)
      at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
      at org.apache.drill.exec.store.sys.store.provider.CachingPersistentStoreProvider.getOrCreateStore(CachingPersistentStoreProvider.java:47)
      at org.apache.drill.exec.store.StoragePluginRegistryImpl.initPluginsSystemTable(StoragePluginRegistryImpl.java:272)
      at org.apache.drill.exec.store.StoragePluginRegistryImpl.<init>(StoragePluginRegistryImpl.java:90)
      ... 27 more
      Apache Drill 1.17.0

       

      Attachments

        1. Screenshot 2021-12-02 215827.png
          73 kB
          Saiprasad Rapolu
        2. Screenshot 2021-12-03 095800.png
          74 kB
          Saiprasad Rapolu
        3. fix.png
          15 kB
          Saiprasad Rapolu

        Activity

          People

            Unassigned Unassigned
            kalyan_7_7@yahoo.co.in Kalyan Saripalli
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: