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

Policy already exists error when saving Hive policy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:
      1) Start to create a new policy named 'test1;. select database as 'a' and table as 'b'. Save the policy.
      2) Open this newly created/saved policy for edit. Change the table name to 'c' and try to save it.

      Expected behavior:
      Policy should be saved.

      Actual behavior:
      Returns an error "policy already exists with name test1". However this is inconsistent.

      Need to fix inconsistent behavior.

        Attachments

          Activity

            People

            • Assignee:
              vperiasamy Velmurugan Periasamy
              Reporter:
              vperiasamy Velmurugan Periasamy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: