Hello o/

We recently upgraded from HDP 2.6.2 to HDP 3.1.4 and we have Ranger
installed and enabled for hive.
So we have Ranger 1.2.0.

When we perform a beeline command with a dfs command, we got the following
error :
###
Error: Error while processing statement: Permission denied: user [myuser]
does not have privilege for [DFS] command (state=,code=1)
###

*Example :*
0: jdbc:hive2://myserver> dfs -ls /;
Error: Error while processing statement: Permission denied: user [myuser]
does not have privilege for [DFS] command (state=,code=1)
0: jdbc:hive2://myserver>

I checked in Ranger documentation here (
https://cwiki.apache.org/confluence/display/RANGER/Hive+Commands+to+Ranger+Permission+Mapping
).
It is written that DFS is not supported in Ranger but the documentation
concerns the version 0.6 of Ranger.


   1. In Ranger 1.2, is the DFS command still not supported in Ranger ?
   2. Is there a workaround to allow users to perform dfs commands with
   beeline with ranger enabled in ranger 1.2 ?


Best regards.

Lune

Reply via email to