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 !?
@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.
Am trying to create a policy in ranger for restricting certain rows of a hive table, I found the policy is working well with hive view. But when am checking the same in hive CLI ( hive command prompt ) , seems the policy is not working I can able to see the restricted data and same scenario for beeline CLI as well.
@Dinesh Das: Can you pls put screenshots of the policy(s) you are creating for the same. You will need an access level policy which will grant access to your user on the Hive resources and then a Row level filter policy if you want to filter out certain rows. Also what is the select statement you are using in beeline cli?