Home Forums Hue HUE webui takes for ever to load

This topic contains 2 replies, has 3 voices, and was last updated by  Hubert Chen 7 months, 2 weeks ago.

  • Creator
    Topic
  • #51540

    NewBe Lee
    Participant

    first time to try hue, seems hue is running on the hue server, but when try to connect from web ui : http://hue.host:8000, it’s spinning but not load, what’s wrong?

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #51628

    Hubert Chen
    Participant

    I had the “Hue takes exactly 5 minutes to login” problem. This is with HDP2.0.6, using Hue 2.3. There’s something about the _get_hbase_status() call that is timing out.

    I hacked around it, with the following code in /usr/lib/hue/apps/about/src/about/views.py:
    def _get_hbase_status():
    “””Returns True if hbase master started and False otherwise.”””
    if True:
    return True

    It may or may not work for you, but it did solve my immediate problem.

    Collapse
    #51568

    Dave
    Moderator

    Hi NewBe,

    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.

    Please also see the sticky at the top of this forum,

    Thanks

    Dave

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)