- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HUE error while trying to set ACL
- Labels:
-
Apache Sentry
-
Cloudera Hue
-
HDFS
Created ‎10-12-2020 04:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to set ACL permissions, using the HUE interface, to a specific user in a HDFS directory. I have already installed and configured sentry to use it with Hive and HDFS. When creating the ACL i get the following error:
400 Client Error: Bad Request for url: XXX aclspec=&op=REMOVEACLENTRIES&user.name=hue&doas=admin {"RemoteException":{"exception":"IllegalArgumentException","javaClassName":"java.lang.IllegalArgumentException","message":"Required param aclspec for op: REMOVEACLENTRIES is null or empty"}}.
I have tried researching this error and it seems HUE is constructing the http request wrong. Could some one help me? I have no idea what is going on
Thank you in advance
Created on ‎01-28-2021 12:30 AM - edited ‎01-28-2021 12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem.
If you found a solution, please post it 😄🙂
Created ‎05-25-2021 11:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same error,who can help us?
Created ‎05-27-2021 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @jmbohl , @zuoseven , @napoleon ,
Please note that this is a known bug, but not yet fixed.
Please check if the below properties in CM > HDFS > Configuration is set to an asterisk (*):
--------------------------------
HDFS Proxy User Hosts
HDFS Proxy User Groups
Hue Proxy User Hosts
Hue Proxy User Groups
--------------------------------
If the above is set to asterisk, please let me know if the below workaround works:
1_). Create the user and group of the HDFS directory in HUE, then log in to HUE with the user of HDFS and then go to HUE to create an ACL for the HDFS directory
2_). Because there is a BUG in HUE for HDFS ACL, it is not recommended to use it this way. It is recommended that you still use the acl command line to create on HDFS.
Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
