Created on 11-17-2020 07:11 AM - edited 11-17-2020 07:14 AM
Hello.
I configurate TLS certs for HUE(from CA), on hdfs i used AUTO_TLS certs.
My config Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini
[desktop]
app_blacklist=
ssl_validate=false
use_new_editor=true
[notebook]
[[interpreters]]
[[ldap]]
sync_groups_on_login=true
show_notebooks=true
[spark]
livy_server_url=http://myhost:8998
interface=livy
[pyspark]
name=PySpark
interface=livy
[r]
name=R
interface=livy
[hadoop]
[[hdfs_clusters]]
[[[default]]]
ssl_cert_ca_verify = false
[[ssl]]
validate=false
[impala]
[[ssl]]
validate=false
In hue i see this:
Created 12-11-2020 08:16 AM
@Yuriy_but Please follow the doc on how to configure Hue with SSL once and see if you are missing something from there.
https://docs.cloudera.com/documentation/enterprise/latest/topics/cm_sg_ssl_hue.html
Then enable debug logging in Hue and see what error is indicated in logs to investigate the issue. This will help you to get the direction.
Created 12-11-2020 03:22 PM
The answer is very simple you have logging in as admin user in hue and admin has no HDFS home directory. there are 2-ways delegate the HDFS home directory creation to HUE by checking Create a home directory in HUE Users--->AddSync LDAP User
username=admin [search]
Distinguished Name = unchecked
Create home directory= checked
or as the HDFS user
$ hdfs dfs -mkdir /user/admin
Change permissions
$ hdfs dfs -chown admin /user/admin
Now when you log in HUE you should get any issues please let me know