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

psql.py is broken after PHOENIX-2013

    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 chrajeshbabu32@gmail.com 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

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

              Dates

                Created:
                Updated:
                Resolved: