You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Saiprasad Rapolu (Jira)" <ji...@apache.org> on 2021/12/02 17:23:00 UTC

[jira] [Updated] (DRILL-7768) Cannot Start Apache Drill in Embedded mode on Windows Server 2019 Azure VM

     [ https://issues.apache.org/jira/browse/DRILL-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saiprasad Rapolu updated DRILL-7768:
------------------------------------
    Attachment: Screenshot 2021-12-02 215827.png

> Cannot Start Apache Drill in Embedded mode on Windows Server 2019 Azure VM
> --------------------------------------------------------------------------
>
>                 Key: DRILL-7768
>                 URL: https://issues.apache.org/jira/browse/DRILL-7768
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Functions - Drill
>    Affects Versions: 1.17.0
>            Reporter: Kalyan Saripalli
>            Priority: Critical
>         Attachments: Screenshot 2021-12-02 215827.png
>
>
> 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|https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html#license-lightbox]
> 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
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)