Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2032

psql.py is broken after PHOENIX-2013

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.5.0, 4.4.1
    • 4.5.0, 4.4.1
    • None
    • None

    Description

      psql is no longer able to load the phoenix driver after PHOENIX-2013.

      $ ./bin/psql.py localhost examples/WEB_STAT.sql                                                                                                                                                                     
      java.sql.SQLException: No suitable driver found for jdbc:phoenix:localhost
              at java.sql.DriverManager.getConnection(DriverManager.java:596)
              at java.sql.DriverManager.getConnection(DriverManager.java:187)
              at org.apache.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:183)
      

      Hat-tip to Rajeshbabu Chintaguntla for tracking down the breaking change.

      Attachments

        1. 2032.opt2a.diff
          2 kB
          Nick Dimiduk
        2. 2032.opt2a.diff
          1 kB
          Nick Dimiduk
        3. 2032.patch
          2 kB
          Nick Dimiduk
        4. PHOENIX-2032.00.patch
          1 kB
          Nick Dimiduk

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ndimiduk Nick Dimiduk
            speleato Sergio Peleato
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment