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

Phoenix can't be used from an external jar in SQL tools

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • None
    • None

    Description

      This is a regression to some of the behavior that was resolved in PHOENIX-966 and a few others. If the phoenix-client jar is not in the lib directory of tools like SquirrelSQL and DBVisualizer, then it's not possible to connect to Phoenix with those tools.

      This current regression is due to a static HColumnDescriptor in ConnectionQueryServicesImpl. Initializing an HColumnDescriptor executes HBaseConfiguration.create, which then fails due to the hbase-defaults check (because the Phoenix-bundled hbase-default.xml isn't found via the context classloader).

      Attachments

        1. PHOENIX-1612.patch
          2 kB
          Gabriel Reid

        Activity

          People

            gabriel.reid Gabriel Reid
            gabriel.reid Gabriel Reid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: