ajit
October 26, 2022, 3:18pm
1
Hello,
I am able to initiate JDBC connections with our Dremio instance using the v3.0.6 driver. However, with the latest driver (20.1.0), I get this error:
Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.RpcException: HANDSHAKE_COMMUNICATION : [USER]: Channel closed null <--> null (user client)
Any ideas?
@ajit Any chance your client JDK version is not 8?
wundi
October 28, 2022, 3:53am
3
There’s an older thread, where balaji covered it (depending on your java version):
@preetigupta
Dremio does not support JDK 11 but if your JDBC client is JDK 11 then Dremio can talk to it but the below needs to be set on the JDBC clinet on startup
-Dcdjd.io.netty.tryReflectionSetAccessible=true
ajit
October 28, 2022, 11:58am
4
Thanks @balaji.ramaswamy and @wundi . I had JDK 19, but downgrading to JDK 11 fixes the issue. The reflection setting isn’t even needed to be set explicitly.
Appreciate the quick turnaround!
@ajit Glad it works
@wundi Thanks a lot for pitching in
1 Like