Created 10-12-2020 04:09 PM
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
I have the same problem.
If you found a solution, please post it 😄🙂
Created 05-25-2021 11:02 PM
I have the same error,who can help us?
Created 05-27-2021 10:07 PM
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.