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

Ranger authorization issue with permanent UDFs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • HiveServer2
    • None

    Description

      We are creating the permanent function names as WINDOW_FUNC_PREFIX + DB.PERMANENT_FUNCTION_NAME which was introduced by 

      https://issues.apache.org/jira/browse/HIVE-12719 .

      When we populate read entities for permanent functions, we add ReadEntity which has DB in the format WINDOW_FUNC_PREFIX + DB. Since Ranger policies are only configured for a given database whose name is just DB and not WINDOW_FUNC_PREFIX + DB, we should modify the DB name to remove the prefix WINDOW_FUNC_PREFIX, when we are creating the read entity. 

      Attachments

        Activity

          People

            kishendas Kishen Das
            kishendas Kishen Das
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: