Vova Vysotskyi created DRILL-7461: ------------------------------------- Summary: Do not pass ClassNotFoundException into SQLNonTransientConnectionException cause when checking that Drill is run in embedded mode Key: DRILL-7461 URL: https://issues.apache.org/jira/browse/DRILL-7461 Project: Apache Drill Issue Type: Bug Affects Versions: 1.16.0 Reporter: Vova Vysotskyi
Do not pass {{ClassNotFoundException}} into {{SQLNonTransientConnectionException}} cause when checking that Drill is run in embedded mode in {{DrillConnectionImpl}}. SQuirrelSQL produces search for the deepest exception cause to display their error message and original exception. For the case when connection string is specified as {{jdbc:drill:zk=local}}, SQuirrelSQL displays only {{ClassNotFoundException}}, but it doesn't show the intended error message. Also, this check for {{org.eclipse.jetty.server.Handler}} class is internal and therefore CNFE shouldn't be exposed to the end-users. -- This message was sent by Atlassian Jira (v8.3.4#803005)