using JDBC to connect to Drill

2022-02-04 Thread Jorge Alvarado
Hi Drill community, I'm trying to connect to drill 1.19 using JDBC, For context: I have a VM running zookeeper and another VM running drillbit. The web UI is working fine, the queries are working fine. In my maven dependency I have: org.apache.drill.exec drill-jdbc-all 1

Re: Re: using JDBC to connect to Drill

2022-02-03 Thread Jorge Alvarado
Subject: AW: Re: using JDBC to connect to Drill Hi Jorge, its all about dns... One solution is to configure /etc/hosts on each machine correctly, so that each server can reach the others by address resolution. the other trick is to set the internal IP address of the drillbit as hostname in drill

AW: Re: using JDBC to connect to Drill

2022-02-03 Thread Z0ltrix
sure, i´ll create a PR in the next days --- Original Message --- luoc schrieb am Donnerstag, 3. Februar 2022 um 11:55: > Hi Christian, > > Is it possible to add this tips to the docs? It is recommended that we add it > to the "Troubleshooting" section, thanks! > > https://drill.apa

Re: using JDBC to connect to Drill

2022-02-03 Thread luoc
Hi Christian, Is it possible to add this tips to the docs? It is recommended that we add it to the "Troubleshooting" section, thanks! https://drill.apache.org/docs/troubleshooting/ > On Feb 3, 2022, at 18:46, Z0ltrix wrote: > > Christian

AW: Re: using JDBC to connect to Drill

2022-02-03 Thread Z0ltrix
Hi Jorge, its all about dns... One solution is to configure /etc/hosts on each machine correctly, so that each server can reach the others by address resolution. the other trick is to set the internal IP address of the drillbit as hostname in drill-env.sh export DRILL_HOST_NAME=`10.x.x.x` Dri

Re: using JDBC to connect to Drill

2022-02-03 Thread luoc
Hi Jorge, It seems that we have answered this question before. Let me find it first.. https://github.com/apache/drill/issues/2415 > On Feb 3, 2022, at 17:28, Jorge Alvarado wrote: > > Hi Drill community, > > I'm trying to connect to drill 1.19 using JDBC, > > For context: I have a VM runnin