Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7461

Do not pass ClassNotFoundException into SQLNonTransientConnectionException cause when checking that Drill is run in embedded mode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.16.0
    • Fix Version/s: 1.18.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                volodymyr Vova Vysotskyi
                Reporter:
                volodymyr Vova Vysotskyi
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: