Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

HUE error while trying to set ACL

avatar
New Contributor

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

3 REPLIES 3

avatar
New Contributor

I have the same problem.
If you found a solution, please post it 😄🙂

avatar
Explorer

I have the same error,who can help us?

avatar
Expert Contributor

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.