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.

Error while configuring HUE for HDFS

Solved Go to solution
Highlighted

Error while configuring HUE for HDFS

Rising Star

Team ,

 

I have installed and configured HUE .but i see below error when i try to access HDSF .

 

Cannot access: /user/admin.

HTTPSConnectionPool(host='catl0dlbd00028.corp.cox.com', port=50070): Max retries exceeded with url: /webhdfs/v1/user/admin?op=GETFILESTATUS&user.name=hue&doas=admin (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'unknown protocol')],)",),))

 

 

I have logged in to HUE using default admin password . DO i have to configure LDAP before accessing HUE ? . I see its going to /user/admin wheer that folder might not be available in hdfs .

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Error while configuring HUE for HDFS

@bhara You do not have to use LDAP.  You can create the users in HUE admin, using the first admin user you created.  If you want to configure LDAP please see official documentation here:

 

https://docs.gethue.com/administrator/configuration/server/#ldap

 

You will need to make the LDAP hue.ini changes via ambari in the HUE->Config->Advanced->Advanced Hue-Ini and restart hue after each change.

 

Your error above are 2 issues I notice:

  1. SSL Configuration for HDFS.  Your HUE truststore must have the ssl certs for hdfs hosts
  2. HDFS Configuration - Doc Here

 

The SSL Example links above are not specific to your case (HDP) but still apply.  Also I am assuming you have hdfs secure.   The links I share for SSL outline the fundamentals required to put the right HDFS and SSL settings in hue.ini for secure access to hdfs.

 

The HDFS Configuration link is official gethue.com documentation for HDFS.

 

You will need to make the SSL hue.ini changes via ambari in the HUE->Config->Advanced->Advanced Hue-Ini and restart hue after each change.

 

 


 


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

View solution in original post

1 REPLY 1
Highlighted

Re: Error while configuring HUE for HDFS

@bhara You do not have to use LDAP.  You can create the users in HUE admin, using the first admin user you created.  If you want to configure LDAP please see official documentation here:

 

https://docs.gethue.com/administrator/configuration/server/#ldap

 

You will need to make the LDAP hue.ini changes via ambari in the HUE->Config->Advanced->Advanced Hue-Ini and restart hue after each change.

 

Your error above are 2 issues I notice:

  1. SSL Configuration for HDFS.  Your HUE truststore must have the ssl certs for hdfs hosts
  2. HDFS Configuration - Doc Here

 

The SSL Example links above are not specific to your case (HDP) but still apply.  Also I am assuming you have hdfs secure.   The links I share for SSL outline the fundamentals required to put the right HDFS and SSL settings in hue.ini for secure access to hdfs.

 

The HDFS Configuration link is official gethue.com documentation for HDFS.

 

You will need to make the SSL hue.ini changes via ambari in the HUE->Config->Advanced->Advanced Hue-Ini and restart hue after each change.

 

 


 


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

View solution in original post

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