drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaimes, Rafael - 0993 - MITLL" <Rafael.Jai...@ll.mit.edu>
Subject RE: Drill embedded mode on Linux
Date Thu, 09 Apr 2020 13:38:30 GMT
The error tells you that it's not finding a Java 1.8 JDK. You can use OpenJDK 
1.8 for the job.
I would check:
1) your java version (both version # and whether it is a JDK, not a JRE)
2) your java path env vars

-----Original Message-----
From: Prabhakar Bhosaale <bhosale.p.v@gmail.com>
Sent: Thursday, April 9, 2020 9:29 AM
To: user@drill.apache.org
Subject: Drill embedded mode on Linux

Hi All,
I am using drill 1.16 and trying to start the drill in embedded mode on linux 
machine. Following the documentation from drill website.

I am using  bin/drill-embedded command but it is giving following error.
Checked the java version and it is correct.  Please help urgently. thx

Regards
Prabhakar

Error: Failure in starting embedded Drillbit:
org.apache.drill.exec.exception.DrillbitStartupException: JDK Java compiler 
not available. Ensure Drill is running with the java executable from a JDK and 
not a JRE (state=,code=0)
java.sql.SQLException: Failure in starting embedded Drillbit:
org.apache.drill.exec.exception.DrillbitStartupException: JDK Java compiler 
not available. Ensure Drill is running with the java executable from a JDK and 
not a JRE
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:143)
        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:1278)
        at sqlline.Commands.connect(Commands.java:1172)
        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:736)
        at sqlline.SqlLine.initArgs(SqlLine.java:428)
        at sqlline.SqlLine.begin(SqlLine.java:531)
        at sqlline.SqlLine.start(SqlLine.java:270)
        at sqlline.SqlLine.main(SqlLine.java:201)
Caused by: org.apache.drill.exec.exception.DrillbitStartupException: JDK Java 
compiler not available. Ensure Drill is running with the java executable from 
a JDK and not a JRE
        at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:152)
        at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:125)
        at
org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:133)
        ... 18 more

Mime
View raw message