Support Questions

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

Add Local User in HUE

avatar
Rising Star

How can we add Local Users in Hue when HUE is integrated with AD? Attempting to add a user using add/sync LDAP user returns an error stating no user found in LDAP.

 

We have some users who are not on AD we would them to be added to HUE as Local Users. Have searched but could not get any information on this

CM 7.6.1

Cloudera Runtime - 7.1.7

 

Appreciate any input on this.

 

Thanks 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hi @Amn_468  Try with below commands to create local superuser accounts. Once created you can change user access level in Hue.

# cd /opt/cloudera/parcels/CDH/lib/hue
# ./build/env/bin/hue --cm-managed createsuperuser

 

View solution in original post

4 REPLIES 4

avatar
Master Collaborator

Hi @Amn_468  Try with below commands to create local superuser accounts. Once created you can change user access level in Hue.

# cd /opt/cloudera/parcels/CDH/lib/hue
# ./build/env/bin/hue --cm-managed createsuperuser

 

avatar
New Contributor

This doesn't work in CDP 7.1.7. When using the previous command it will throw the following error:

Traceback (most recent call last):
  File "./build/env/bin/hue", line 14, in <module>
    load_entry_point('desktop', 'console_scripts', 'hue')()
  File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 160, in 
entry
    empty, environment = envline.split("environment=")
ValueError: too many values to unpack

 

avatar
Community Manager

@Amn_468, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 



Regards,

Vidya Sargur,
Community Manager


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.
Learn more about the Cloudera Community:

avatar
Expert Contributor

@lv_antel what is the complete command you are using? can you please share the complete stack trace?