Re: java version for Drill JDBC driver

2020-04-09 Thread Paul Rogers
Nice sleuthing! Thanks, - Paul On Thursday, April 9, 2020, 1:07:48 PM PDT, Jaimes, Rafael - 0993 - MITLL wrote: One of my coworkers looked at the pom.xml in /exec/jdbc and noticed there was a version of javax.validation being called in about 7 years old (1.1.0.Final) Replacing it

RE: java version for Drill JDBC driver

2020-04-09 Thread Jaimes, Rafael - 0993 - MITLL
One of my coworkers looked at the pom.xml in /exec/jdbc and noticed there was a version of javax.validation being called in about 7 years old (1.1.0.Final) Replacing it with version 2.0.1.Final and rebuild of the JDBC driver jar solved the problem. -Original Message- From: Paul Rogers

RE: Drill embedded mode on Linux

2020-04-09 Thread Jaimes, Rafael - 0993 - MITLL
filed https://issues.apache.org/jira/browse/DRILL-7695 -Original Message- From: Paul Rogers Sent: Thursday, April 9, 2020 3:24 PM To: user@drill.apache.org Subject: Re: Drill embedded mode on Linux Hi Prabhakar, Rafael has pointed you in the right direction. Drill does code generation

Re: java version for Drill JDBC driver

2020-04-09 Thread Paul Rogers
Hi Rafael, Drill's Git-based tests run against all Java versions from 8 to 14. Our biggest challenge is Guava: Drill has many dependencies and some use different (and incompatible) Guava versions. There is a "patcher" to edit the code at runtime to fix the issue. Presto is nice in that it

Re: Drill embedded mode on Linux

2020-04-09 Thread Paul Rogers
Hi Prabhakar, Rafael has pointed you in the right direction. Drill does code generation at run time and for that it needs the Java compiler which requires the JDK, not just the JRE. I do development on Linux (Ubuntu-based Linux Mint) and was able to install the JDK. It's been awhile so I

Re: java version for Drill JDBC driver

2020-04-09 Thread Bob Rudis
I use the JDBC driver via an RJDBC wrapper I wrote and the rJava it runs in is built with JDK 11, so it definitely is working in 11 for me. > On Apr 9, 2020, at 11:38, Jaimes, Rafael - 0993 - MITLL > wrote: > > On the topic of java versions, I am trying to load the Drill JDBC driver in a >

java version for Drill JDBC driver

2020-04-09 Thread Jaimes, Rafael - 0993 - MITLL
On the topic of java versions, I am trying to load the Drill JDBC driver in a docker container running Presto and Java 11, I'm getting the following error: ERROR main io.prestosql.server.PrestoServer 'java.lang.String javax.validation.BootstrapConfiguration.getClockProviderClassName()'

Re: Drill embedded mode on Linux

2020-04-09 Thread Prabhakar Bhosaale
Thanks Jaims, This helps. I have only openJDK. I will get the devel and will update you. Regards Prabhakar On Thu, Apr 9, 2020 at 7:53 PM Rafael Jaimes III wrote: > Prab, > > I don't think screenshots work on the list. What distro are you using? > > On Red Hat, OpenJDK is a JRE but

Re: Drill embedded mode on Linux

2020-04-09 Thread Rafael Jaimes III
Prab, I don't think screenshots work on the list. What distro are you using? On Red Hat, OpenJDK is a JRE but OpenJDK-devel has the JDK. It may be confusing. On Thu, Apr 9, 2020, 10:17 AM Prabhakar Bhosaale wrote: > Hi All, > > Just to give you some additional information. I came across

Re: Drill embedded mode on Linux

2020-04-09 Thread Prabhakar Bhosaale
Hi All, Just to give you some additional information. I came across information on http://www.openkb.info/2017/05/drill-errors-with-jdk-java-compiler-not.html As per this article, my output of step 2 is not as expected. But this article does not mention what to do in this case. thx Regards

Re: Drill embedded mode on Linux

2020-04-09 Thread Prabhakar Bhosaale
Hi James, thanks for quick reply. Below is Java version screenshot. As per documentation this is correct. [image: image.png] Below is screenshot of java path. this is also correct. But still same error [image: image.png] Regards Prabhakar On Thu, Apr 9, 2020 at 7:08 PM Jaimes, Rafael - 0993 -

RE: Drill embedded mode on Linux

2020-04-09 Thread Jaimes, Rafael - 0993 - MITLL
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 Sent: Thursday, April 9, 2020

Drill embedded mode on Linux

2020-04-09 Thread Prabhakar Bhosaale
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