[ 
https://issues.apache.org/jira/browse/DRILL-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16483079#comment-16483079
 ] 

ASF GitHub Bot commented on DRILL-5990:
---------------------------------------

kkhatua opened a new pull request #1280: DRILL-5990: Drill should not startup 
with JRE sourced java executable
URL: https://github.com/apache/drill/pull/1280
 
 
   Currently, the check for the Java compiler is made only during query 
execution.
   This commit ensures that if the java executable used for instantiating the 
Drillbit is from a JRE (i.e. the Java compiler is not available), the Drillbit 
will fail with the exception reported in the logs:
   ```
   Exception in thread "main" 
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:138)
           at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:409)
           at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:389)
           at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:385)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Apache Drill /status API returns OK ('Running') even with JRE while queries 
> will not work - make status API reflect the fact that Drill is broken on JRE 
> or stop Drill starting up with JRE
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-5990
>                 URL: https://issues.apache.org/jira/browse/DRILL-5990
>             Project: Apache Drill
>          Issue Type: Bug
>          Components:  Server, Client - HTTP, Execution - Monitoring, Query 
> Planning &amp; Optimization
>    Affects Versions: 1.10.0, 1.11.0
>         Environment: Docker
>            Reporter: Hari Sekhon
>            Assignee: Kunal Khatua
>            Priority: Major
>
> If running Apache Drill on versions 1.10 / 1.11 on JRE it appears that 
> queries no longer run without JDK, but the /status monitoring API endpoint 
> does not reflect the fact the Apache Drill will not work and still returns 
> 'Running'.
> While 'Running' is technically true the process is up, it's effectively 
> broken and Apache Drill should either reflect this in /status that is is 
> broken or refuse to start up on JRE altogether.
> See this ticket for more information:
> https://github.com/HariSekhon/Dockerfiles/pull/15



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to