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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.16.0
    • 1.18.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: