Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1631

create temp function failing with permission issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, master
    • 1.0.0, 0.7.2
    • Ranger
    • None

    Description

      create temp function failing with permission issues, even when the policy is maintained for database=, table=, column=*. Reason being Hive didn't send database name. In earlier version, this was working because resource match did check for the hierarchy relation for the resource, not in current version we do the check and this is causing the issue
      SOLUTION: When create function is done and when database is null we need to make the database="" so the check for hierarchy passes and policy get evaluated. This is a workaround to avoid regression and actual fix has to be done in HIVE , for which there is already a bug raised.

      Attachments

        Issue Links

          Activity

            People

              rmani Ramesh Mani
              rmani Ramesh Mani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: