Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

HDP 2.6 Ranger 0.7.0 import policy from ranger UI

avatar
Rising Star

Hi Team,

what is the process to import ranger policy in ranger 0.7.0, from GUI. Iam getting error saying unauthorized policy name. Can someone share the sample .jSON templete

1 ACCEPTED SOLUTION

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Rising Star
{"policyName":"import_test_range"
,"databases":"s_auth"
,"tables":"*"
,"columns":"*"
,"description":"s_auth"
,"repositoryName":"dsh_prod_hive"
,"repositoryType":"hive"
,"tableType":"Inclusion"
,"columnType":"Inclusion"
,"isEnabled":true
,"isAuditEnabled":true
,"permMapList":[{"userList":["sboppun"],"permList":["all"]}]
}

avatar
Rising Star

Error :

Unrecognized field "policyName" (Class org.apache.ranger.view.RangerExportPolicyList), not marked as ignorable at [Source: java.io.StringReader@4a5e4468; line: 1, column: 16] (through reference chain: org.apache.ranger.view.RangerExportPolicyList["policyName"])

avatar
Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login