- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unable to run [DFS] command in beeline
- Labels:
-
Apache Hadoop
-
Apache Hive
Created ‎07-11-2019 02:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the kerberized cluster, after enabling Ranger Hive plug-in in HDP 2.6.5, not able to run dfs commands in beeline.
jdbc:hive2://test.xyz.com:10000> dfs -ls /;
Error: Error while processing statement: Permission denied: user [user1] does not have privilege for [DFS] command (state=,code=1)
Please help on this.
Thank you.
Created ‎07-12-2019 02:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you have enabled Ranger authorization then DFS commands are restricted in Hive when authorization is enabled.
Created ‎07-12-2019 02:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As you have enabled Ranger authorization then DFS commands are restricted in Hive when authorization is enabled.
Created ‎07-12-2019 06:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Shu - Thanks for your response. Is there any way where we can enable the DFS commands where Ranger authorization is enabled?
As of now, dfs commands are working in hive shell but not in beeline.
Thank you.
