AnsweredAssumed Answered

Connecting Apache Drill with authentication to Java using JDBC driver

Question asked by Swaraj on Jun 21, 2016
Latest reply on Jul 1, 2016 by namato

Hi,

I have created a custom authenticator class and enabled authentication on my apache drill instance.

When I try to query drill using web-console(localhost:8047), it redirects me to authentication page and lets me query after authentication.

 

I am trying to connect the same instance to java using JDBC driver. There is a slight change in this connection. I am trying to connect to zookeeper from java and zookeeper in turn connects to drill. I am unable to connect and query using java(with JDBC driver).

 

Can you please help me figuring out what if this kind of authentication is supported using JDBC diver?

 

Also, I tried using ODBC driver on Linux, but I was unable to configure ODBC driver.

I followed the steps mentioned on apache drill documentation.

Installation was success but I am unable to find libiodbcinst.so file(used for configuring).

Also, I am unable to find iodbctest/iodbctestw for testing ODBC connection.

Please let me know if I am missing anything.

 

Thanks

Outcomes