Hue: Failed to access filesystem root Hue: Failed to access filesystem root hadoop hadoop

Hue: Failed to access filesystem root


HDFS is using ACLs to access the filesystem. If you perform a "HDFS DFS -LS" on your cluster, you will see owners and access rights similar to a Linux file system.

The Hue service is executed with a service user. Per default, this user is called "hue". This can be changed in the hue.ini. Comments on the configuration are self-explanatory. Look for "# Webserver runs as this" user (https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini

You have two options to solve the problem:* Authorise your HUE user to access all HDFS paths with ACLs (e.g. give the service user ownership over the objects in HDFS.* Or better: Make sure that use can impersonate this users by adding

 <property>      <name>hadoop.proxyuser.hue.hosts</name>      <value>*</value> </property> <property>      <name>hadoop.proxyuser.hue.groups</name>      <value>*</value> </property>

to hdfs-site.xml