Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

import policies in ranger

avatar

What are prerequisites i should complete before importing ranger policies from different cluster . for e.g I have exported the ranger policies say clusterA_hdfs from clusterA and now I am importing this policy in clusterB to clusterB_hdfs .

  • Is it required to have present all the users who are belonging to clusteA rnager policy for hdfs ?
  • what could lead to failure of the policies while importing like If policy id or name is same ?

Thanks

1 ACCEPTED SOLUTION

avatar

FYI starting hdp 2.6 you we have the import/export functionality directly on the ranger admin ui.

1. Is it required to have present all the users who are belonging to cluster A ranager policy for hdfs ?

Yes, otherwise the policies for missing users wont be added.

2. what could lead to failure of the policies while importing like If policy id or name is same ?

There is an overwrite checkbox you can select. If checked the policies with same name will be overwritten.

76532-screen-shot-2018-05-31-at-121932-pm.png

HTH

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

View solution in original post

2 REPLIES 2

avatar

FYI starting hdp 2.6 you we have the import/export functionality directly on the ranger admin ui.

1. Is it required to have present all the users who are belonging to cluster A ranager policy for hdfs ?

Yes, otherwise the policies for missing users wont be added.

2. what could lead to failure of the policies while importing like If policy id or name is same ?

There is an overwrite checkbox you can select. If checked the policies with same name will be overwritten.

76532-screen-shot-2018-05-31-at-121932-pm.png

HTH

*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

avatar

@Anurag Mishra Please take a moment to login and click the "accept" link on the answer if you think the above helped address your question.