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

Not able to perform materialized views rebuild if user is granted update access after initial deny of operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • plugins
    • None

    Description

      STEPS TO REPRODUCE:
      Create a ranger hive policy for user u1 to access table t1, view v1 and create&select permission on materialized view mv1.
      Create table t1 and add data. Create view v1 and materialized view mv1.
      Insert an additional record in t1.
      Execute rebuild command on materialized view.
      Access is denied as user is not having update permissions on materialized view.
      Update ranger policy to provide 'update' access for user on materialized view and wait for policy to be available on hive plugin side.
      Execute rebuild command.

      CURRENT BEHAVIOUR:
      Operation fails with error stating that "Another process is rebuilding the materialized view"

      Attachments

        Activity

          People

            Unassigned Unassigned
            suja suja s
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: