Changing the code is not good approach You can change in config file in 'hue/desktop/conf/pseudo-distributed.ini' under [desktop] section
default_hdfs_superuser=hdfs
to
default_hdfs_superuser=hduser
Question
Here is my settings
But it shows error message like this
Current value: http://master ip:50070/webhdfs/v1
Filesystem root '/' should be owned by 'hdfs'
Solution
Changing the code is not good approach You can change in config file in 'hue/desktop/conf/pseudo-distributed.ini' under [desktop] section
default_hdfs_superuser=hdfs
to
default_hdfs_superuser=hduser
OTHER TIPS
I modified the "DEFAULT_HDFS_SUPERUSER" name to my current user name under
desktop/libs/hadoop/src/hadoop/fs/webhdfs.py