Support Questions
Find answers, ask questions, and share your expertise

Error while export the Ranger policies.

Error while export the Ranger policies.

I want to import Ranger policies from one cluster to another. It gives error while import the policies in ranger of another cluster.

(0) Validation failure: error code[3006], reason[Another policy already exists for this name: policy-id=[1], service=[EIS_DEV_Hive]], field[policy name], subfield[null], type[semantically incorrect] (1) Validation failure: error code[3022], reason[Invalid access type: access type=[read], valid access types=[[drop, all, select, update, create, index, lock, alter]]], field[policy item access type], subfield[null], type[semantically incorrect] (2) Validation failure: error code[3022], reason[Invalid access type: access type=[write], valid access types=[[drop, all, select, update, create, index, lock, alter]]], field[policy item access type], subfield[null], type[semantically incorrect]
1 REPLY 1

Re: Error while export the Ranger policies.

Expert Contributor

Ensure existing cluster in which you are importing policies do not have duplicate policies already present.