Having solved my previous problem with sqlline_history, I am now getting the
error below.
Thanks in advance
Sean
C:\Drill\apache-drill-1.15.0\bin>sqlline -u "jdbc:drill:zk=local"
DRILL_ARGS - " -u jdbc:drill:zk=local"
HADOOP_HOME not detected...
HBASE_HOME not detected...
Calculating Drill classpath...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.apache.calcite.avatica.com.google.protobuf.UnsafeUtil
(file:/C:/Drill/apache-drill-1.15.0/jars/3rdparty/avatica-1.12.0.jar) to field
java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of
org.apache.calcite.avatica.com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Error: Failure in starting embedded Drillbit:
org.apache.drill.common.exceptions.DrillRuntimeException: Error during udf area
creation [/C:/Users/Sean/drill/udf/registry] on file system [file:///]
(state=,code=0)
java.sql.SQLException: Failure in starting embedded Drillbit:
org.apache.drill.common.exceptions.DrillRuntimeException: Error during udf area
creation [/C:/Users/Sean/drill/udf/registry] on file system [file:///]
at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:139)
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:72)
at sqlline.DatabaseConnection.connect(DatabaseConnection.java:130)
at
sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:179)
at sqlline.Commands.connect(Commands.java:1247)
at sqlline.Commands.connect(Commands.java:1139)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:722)
at sqlline.SqlLine.initArgs(SqlLine.java:416)
at sqlline.SqlLine.begin(SqlLine.java:514)
at sqlline.SqlLine.start(SqlLine.java:264)
at sqlline.SqlLine.main(SqlLine.java:195)
Caused by: org.apache.drill.common.exceptions.DrillRuntimeException:
Error during udf area creation [/C:/Users/Sean/drill/udf/registry] on file
system [file:///]
at
org.apache.drill.common.exceptions.DrillRuntimeException.format(DrillRuntimeException.java:49)
at
org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.createArea(RemoteFunctionRegistry.java:280)
at
org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.prepareAreas(RemoteFunctionRegistry.java:237)
at
org.apache.drill.exec.expr.fn.registry.RemoteFunctionRegistry.init(RemoteFunctionRegistry.java:107)
at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:214)
at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:130)