Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can we do column value level restriction in Apache ranger ?

Solved Go to solution

Can we do column value level restriction in Apache ranger ?

Rising Star

Can we create policy for value of a selected column ( in a hive table ) in Ranger.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Can we do column value level restriction in Apache ranger ?

11 REPLIES 11
Highlighted

Re: Can we do column value level restriction in Apache ranger ?

Re: Can we do column value level restriction in Apache ranger ?

Rising Star

@Sagar Shimpi

Thank you, do you have the doc which lists all the functionalities of Ranger and ATLAS.

Re: Can we do column value level restriction in Apache ranger ?

Expert Contributor

Re: Can we do column value level restriction in Apache ranger ?

Expert Contributor

@Dinesh Das

Row Filtering and Column masking are supported in Ranger. This may cater your use case of column value level restriction. Please check it out and let us know is this what you were looking for?

https://cwiki.apache.org/confluence/display/RANGER/Row-level+filtering+and+column-masking+using+Apac...

Re: Can we do column value level restriction in Apache ranger ?

Rising Star

@Ramesh Mani Sure, Thanks for the post let me try all these

Re: Can we do column value level restriction in Apache ranger ?

Rising Star

@Ramesh Mani

Restriction through Ranger is neither working on HIVE CLI nor BEELINE CLI. I can able to fetch full data when am using select command in hive/beeline cli . Its only working in Hive view. am I doing anything wrong here !?

Re: Can we do column value level restriction in Apache ranger ?

Expert Contributor

@Dinesh Das Ranger is not supported in HIVE CLI. What version of HDP are using? If Ranger Policy is not in effective may be the plugin is not enabled correctly or something wrong. Do you get any audit in Ranger admin? Also as @svenkat requested please provide your use case that will help us.

Re: Can we do column value level restriction in Apache ranger ?

Rising Star

@Ramesh Mani

Yes am able to do audit in ranger and am using HDP 2.5

Re: Can we do column value level restriction in Apache ranger ?

New Contributor

@Dinesh Das, can you explain what is your exact use case with one or more concrete examples of what you are trying to do exactly? Your problem statement is somewhat vague.