Reply
Highlighted
Cloudera Employee
Posts: 1
Registered: ‎03-14-2019

Re: Hue cannot access database, Failed to access filesystem root

[ Edited ]

If you have HA in your cluster, make sure the setting of webhdfs_url in Hue is pointing to the ACTIVE NameNode.

 

You can find webhdfs_url in: (xxx is some digitals for you current run of Hue)

/run/cloudera-scm-agent/process/xxx-hue-HUE_SERVER/hue.ini

 

And you can find the active NameNode in: (xx is some digitals for you cluster)

http://your.cloudera.manager.host:7180/cmf/services/xx/instances

 

Or, maybe you've missed something after the HA, check below

https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_hag_hdfs_ha_cdh_components_confi...