Monday, August 4, 2014

Hue

                                                 Hue

Hue is Open Source UI that interacts with Apache Hadoop and it all echosystem components.Before you can run Hue Applications, you need to

Hue Services:
service hue restart

Table browser sample tab not showing for some tables:

In Hue, when we browse tables, the sample tab is not showing up for certain tables. It seems to be isolated to externally created tables that were not manipulated by Hive. When watching the logs for Hiveserver2 during the table browse, the logs show that the system fires off a MR job for SELECT * <table> LIMIT 100; This seems to be an attempt to pull the sample tab data, but the webUI returns the table page before the query completes and does not render any sample tab even after the query completes successfully.

Issues:
Problem:
socket.error: [Errno 98] Address already in use
starting server with options {'ssl_certificate': None, 'workdir': None, 'server_name': 'localhost', 'host': '0.0.0.0', 'daemonize': False, 'threads': 100, 'pidfile': None, 'ssl_private_key': None, 'server_group': 'hadoop', 'ssl_cipher_list': 'DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2', 'port': 8000, 'server_user': 'hue'}
Traceback (most recent call last):
  File "/usr/lib/hue/build/env/bin/hue", line 9, in <module>
    load_entry_point('desktop==2.6.1', 'console_scripts', 'hue')()
    File "/usr/lib/hue/desktop/core/src/desktop/management/commands/runcherrypyserver.py", line 111, in runcpserver
    start_server(options)
  File "/usr/lib/hue/desktop/core/src/desktop/management/commands/runcherrypyserver.py", line 87, in start_server
    server.bind_server()
  File "/usr/lib/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 1630, in bind_server
    raise socket.error, msg
socket.error: [Errno 98] Address already in use
starting server with options {'ssl_certificate': None, 'workdir': None, 'server_name': 'localhost', 'host': '0.0.0.0', 'daemonize': False, 'threads': 100, 'pidfile': None, 'ssl_private_key': None, 'server_group': 'hadoop', 'ssl_cipher_list': 'DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2', 'port': 8000, 'server_user': 'hue'}
Traceback (most recent call last):

Solution: It seems Hue Port 8000 is already running on the machine..try with 8888, it will fix the problem.
--------------------

No comments:

Post a Comment