Could not send query unexpected end of exception

Received following error on a query (which sometimes work). I am on community edition of 1.4.

Caused by: java.sql.SQLNonTransientConnectionException: (conn:706080479) Could not send query: unexpected end of exception, read 0 bytes from 4

In all cases, it seems to be MariaDB jdbc client ? Seems there is a jira card on it

Will try to use " useServerPrepStmts=false" in jdbc url… but, appreciate if any solution available.


Looks like this is the same issue your experiencing on Query joining multiple datasources does not return

We have replied in that thread and will keep you posted

Kindly let us know if you have any other questions


Sure @balaji.ramaswamy . Mostly, I am seeing the error happening after some elapsed time since the server start. Apart from that the main connection issues are on mysql using mariadb and redshift.

Occassionally, some tables will be shown as not found … but, on retrying the same query will work fine. Not sure why.

If still the resolution is being worked upon; will wait.