Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can't access file manager using HUE admin ( 4.0.1)

Highlighted

Can't access file manager using HUE admin ( 4.0.1)

Rising Star

I am getting the following error when I access HDFS file browser using HUE as admin:

I changed this: dfs.permission.enabled - changed to false but still getting the same error

 

 

Cannot access: //. The HDFS REST service is not available. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".

 

 

 

3 REPLIES 3
Highlighted

Re: Can't access file manager using HUE admin ( 4.0.1)

Cloudera Employee

Hi @prakashpunj 

Could you please try restarting httpfs service on HDFS and then check again?

Highlighted

Re: Can't access file manager using HUE admin ( 4.0.1)

Contributor

Hi @prakashpunj .

below error is coming in Hue GUI? if yes then you don't have access for Hue GUI.

 

Cannot access: //. The HDFS REST service is not available. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".

you need to contact with your Hadoop admin team to take the Hue access control.

 

Thanks

HadoopHelp

 

Highlighted

Re: Can't access file manager using HUE admin ( 4.0.1)

Master Collaborator

@prakashpunj 

 

You need to add the admin user to the hdfs user group.   

 

Depending on your system, you may need to make some changes to hdfs proxy hosts.  Make it *.  You can confirm by checking HDFS Files View with the admin user.   If admin can view hdfs there, you should be good in Hue too.

 

In Hue, you can also add a user:  hdfs with password: hdfs and login as that user to view HDFS.  You can do the same for Hive.  In one of my recent tests, admin could view HDFS Files, but could not execute queries on hive tables.  So I just created a hive user in hue to validate it works.   

 

I assume you are working in a test environment so it should be no problem to make minor users/groups  changes to satisfy these access issues.  Normally you would want LDAP integration and use Ranger to manage permissions.  For example,  giving a specific user privileges to HDFS and HIVE.

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

Don't have an account?
Coming from Hortonworks? Activate your account here