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

Add a getAuthorizationProvider to HiveStorageHandler

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • HBase Handler
    • None

    Description

      In version 0.92 HBase supports ACLs for tables. In HCatalog, since we delegate security to the underlying storage layer, we would like to be able to obtain a HiveAuthorizationProvider specific to a HiveStorageHandler instance. This can be done by adding a getAuthorizationProvider method to HiveStorageHandler. In the case where Hive is configured to use the DefaultHiveAuthorizationProvider this call will return the same default provider, since Hive handles all of the authorization itself in that case. In the case where it is configured to use the HCatAuthorizationProvider, it would return an instance specific to the underlying storage.

      For more background on this proposed change see HCATALOG-237 and https://cwiki.apache.org/confluence/display/HCATALOG/Hcat+Security+Design

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2768.D1869.1.patch
          2 kB
          Phabricator
        2. HIVE-2768.D1869.1.patch
          2 kB
          Francis Christopher Liu

        Issue Links

          Activity

            People

              toffer Francis Christopher Liu
              gates Alan Gates
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: