Hello,

I'm wondering if there is a way to timeout a PhoenixDriver connection
attempt.

For example if I run:

// invalidZkQuorum = some unreachable ip address
Connection conn = DriverManager.getConnection("jdbc:phoenix:" +
invalidZkQuorum);

It just hangs forever. Is there something I can put in the Properties
object to force the connection to time out? I have tried setting
DriverManager.setLoginTimeout(timeout).

Thank you for your time,

- Alex

Reply via email to