Created 01-25-2017 07:03 AM
when i start hue i get this issue on hue
hadoop.hdfs_clusters.default.webhdfs_urlCurrent value: http://namenode:50070/webhdfs/v1 Filesystem root '/' should be owned by 'hdfs'
Created 01-25-2017 07:20 AM
@Punit kumar Please run the following command to verify the permissions on HDFS directory "/"
# su - hdfs # hdfs dfs -stat "%u %g" / hdfs hdfs
It should be owned by "hdfs:hdfs" if it is not then you can fix it by running the following command:
# hdfs dfs -chwon hdfs:hdfs /
.
- It is Hue code that is explicitly checking for the default permission :
.
And the default superuser is defined in "hue.ini" as following:
default_hdfs_superuser=hdfs
.
Created 01-25-2017 07:20 AM
@Punit kumar Please run the following command to verify the permissions on HDFS directory "/"
# su - hdfs # hdfs dfs -stat "%u %g" / hdfs hdfs
It should be owned by "hdfs:hdfs" if it is not then you can fix it by running the following command:
# hdfs dfs -chwon hdfs:hdfs /
.
- It is Hue code that is explicitly checking for the default permission :
.
And the default superuser is defined in "hue.ini" as following:
default_hdfs_superuser=hdfs
.
Created 01-25-2017 07:30 AM
thnx @Jay SenSharma now its working.
But now when i am doing some query in hue it doesnt show any output