Hue Forum

HUE takes too long to login

  • #49394
    sean mikha
    Participant

    Hi,
    I just installed HDP 2.0.6 through Ambari Repo version 1.4.4.23
    I am running on CentOS6 , 3 Large node cluster on Amazon AWS

    I installed everything and all the Hadoop services are running. All the service checks pass separately.

    After I installed HUE and login, every time I try to log in it takes like 5-10 minutes. Then once i’m logged in everything in HUE works quickly.

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #49395
    Dave
    Moderator

    Hi Sean,

    Can you add the hue user to the sudoers file using visudo and restarted the hue service.
    -> visudo
    -> service hue restart

    Thanks

    Dave

    #49580
    Stanley Nguyen
    Participant

    Dave – That doesn’t help. I already added “hue” to sudo list. Any other suggestion?

    #49581
    Stanley Nguyen
    Participant

    Couldn’t find a way to edit my entry. Let me try to elaborate. There’s no misconfiguration from HUE as far as it goes. It takes long time to load the “About” page. There’s no obvious error in hue log either. I got the same configuration setup as Sean but it’s running in my local lab.

    #49758
    Rodulfo
    Participant

    I have the same problem, with a server on AWS RHEL instance, any updates?

    #49821
    Dave
    Moderator

    Hi,

    As a workaround you can change the landing page when you log in to FileBrowser for example – which will log you in.

    If you check your sudoers file, you can ensure it looks like the following:

    hue ALL=(ALL) ALL
    hue ALL=(ALL) NOPASSWD: /sbin/chkconfig
    hue ALL=(ALL) NOPASSWD: /sbin/service
    hue ALL=(ALL) NOPASSWD: /bin/kill

    You could also try using the cherrypy server (by uncommenting the line in hue.ini) and marking it as true.

    Thanks

    Dave

    #49830
    Stanley Nguyen
    Participant

    Hi Dave,

    That works great. Thank you so much!!!

    Regards,

    Stanley

    #49871
    Stephane LIENARD
    Participant

    Hi all,
    I’ve got same issue (Centos 6.4, HDP 2.0.6, HUE 2.3.0, install using ambari). The HUE about application takes 5 mins to display.

    Adding this line in sudoers file resolv it :
    hue ALL=(ALL) ALL
    hue ALL=(ALL) NOPASSWD: /sbin/chkconfig
    hue ALL=(ALL) NOPASSWD: /sbin/service
    hue ALL=(ALL) NOPASSWD: /bin/kill

    This should be added in documentation.

    Stéphane.

    #50272
    sean mikha
    Participant

    it worked, thanks dave!

    #50273
    Rodulfo
    Participant

    Yes, it worked for me too. Thanks Dave!

    #50313
    Dave
    Moderator

    Just to let you all know that this will be fixed in a later version

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.