You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/01/03 13:22:00 UTC

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

    [ https://issues.apache.org/jira/browse/DRILL-7461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007480#comment-17007480 ] 

ASF GitHub Bot commented on DRILL-7461:
---------------------------------------

vvysotskyi commented on pull request #1950: DRILL-7461: Do not pass ClassNotFoundException into SQLNonTransientConnectionException cause when checking that Drill is run in embedded mode
URL: https://github.com/apache/drill/pull/1950
 
 
   For problem description please refer [DRILL-7461](https://issues.apache.org/jira/browse/DRILL-7461).
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Assignee: Vova Vysotskyi
>            Priority: Minor
>             Fix For: 1.18.0
>
>
> 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)