Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19558

HiveAuthorizationProviderBase gets catalog name from config rather than db object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • Authorization
    • None

    Description

      HiveAuthorizationProviderBase.getDatabase uses just the database name to fetch the database, relying on getDefaultCatalog() to fetch the catalog name from the conf file.  This does not work when the client has passed in an object for a different catalog.

      Attachments

        1. HIVE-19558.patch
          6 kB
          Alan Gates
        2. HIVE-19558.1take9.patch
          6 kB
          Alan Gates
        3. HIVE-19558.1take8.patch
          6 kB
          Alan Gates
        4. HIVE-19558.1take7.patch
          6 kB
          Alan Gates
        5. HIVE-19558.1take6.patch
          6 kB
          Alan Gates
        6. HIVE-19558.1take5.patch
          6 kB
          Alan Gates
        7. HIVE-19558.1take4.patch
          6 kB
          Alan Gates
        8. HIVE-19558.1take3.patch
          6 kB
          Alan Gates
        9. HIVE-19558.1take2.patch
          6 kB
          Alan Gates

        Activity

          People

            gates Alan Gates
            gates Alan Gates
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: