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

psql.py is broken after PHOENIX-2013

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.5.0, 4.4.1
    • Fix Version/s: 4.5.0, 4.4.1
    • Labels:
      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. PHOENIX-2032.00.patch
          1 kB
          Nick Dimiduk
        2. 2032.patch
          2 kB
          Nick Dimiduk
        3. 2032.opt2a.diff
          1 kB
          Nick Dimiduk
        4. 2032.opt2a.diff
          2 kB
          Nick Dimiduk

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: