Hi Team, I am trying to create a java code to test the health of each drillbit. The goal is to use JDBC connection logon each drillbit and run a simple query.
However I could not find the way to set either connection timeout or query timeout. I checked below api pages: https://drill.apache.org/api/1.2/jdbc/org/apache/drill/jdbc/DrillConnection.html *setNetworkTimeout* <https://drill.apache.org/api/1.2/jdbc/org/apache/drill/jdbc/DrillConnection.html#setNetworkTimeout(java.util.concurrent.Executor,%20int)> (*Executor* <http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executor.html?is-external=true> executor, int milliseconds) *Drill*: Not supported (for non-zero timeout value). https://drill.apache.org/api/1.2/jdbc/org/apache/drill/jdbc/DrillStatement.html <https://drill.apache.org/api/1.2/jdbc/org/apache/drill/jdbc/DrillStatement.html> *setQueryTimeout* <https://drill.apache.org/api/1.2/jdbc/org/apache/drill/jdbc/DrillStatement.html#setQueryTimeout(int)> (int milliseconds) *Drill*: Not supported (for non-zero timeout value). Any suggestions? Thanks, Hao
