You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vova Vysotskyi (Jira)" <ji...@apache.org> on 2019/11/28 14:19:00 UTC

[jira] [Created] (DRILL-7461) Do not pass ClassNotFoundException into SQLNonTransientConnectionException cause when checking that Drill is run in embedded mode

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)