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

Reply via email to