hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjeev sagar <sanjeev.sa...@gmail.com>
Subject Hue not starting jobsubd and besswax server on RHEL 5 64 bit
Date Tue, 12 Jul 2011 00:28:05 GMT
Hello All, I'm using CDH 3 and Hue 1.2 on RHEL5 64 bit with mysql db based
metastore.



I'm running into a issue where Hue is showing any app in the browser.

After checking the log files, it looks like it's not even starting jobsubd
and besswax server at all.



 From the log file:



[11/Jul/2011 15:33:29 +0000] supervisor   INFO     Command

"/usr/share/hue/build/env/bin/hue runcpserver" exited normally.

[11/Jul/2011 15:36:15 +0000] supervisor   INFO     Starting process

/usr/share/hue/build/env/bin/hue runcpserver

[11/Jul/2011 15:36:15 +0000] supervisor   INFO     Starting process

/usr/share/hue/build/env/bin/hue kt_renewer

[11/Jul/2011 15:36:15 +0000] supervisor   INFO     Started proceses (pid

17083) /usr/share/hue/build/env/bin/hue runcpserver

[11/Jul/2011 15:36:15 +0000] supervisor   INFO     Started proceses (pid

17085) /usr/share/hue/build/env/bin/hue kt_renewer

[11/Jul/2011 15:36:16 +0000] supervisor   INFO     Command

"/usr/share/hue/build/env/bin/hue kt_renewer" exited normally.



So i checked the subcommands to see if i can start manually but it was
strange that following subcommands were not there



 beeswax_install_examples

  beeswax_server

  jobsub_setup

  jobsubd



following is the complete list;



ssagar@h1.iad hue$ /usr/share/hue/build/env/bin/hue help Traceback (most
recent call last):

  File "/usr/lib64/python2.4/logging/config.py", line 157, in fileConfig

    log.addHandler(handlers[hand])

KeyError: 'logfile'

INFO:root:Welcome to Hue 1.2.0

DEBUG:desktop.appmanager:Loaded Desktop Libraries: hadoop
DEBUG:desktop.appmanager:Old-style static directory:

/usr/share/hue/desktop/core/static

DEBUG:desktop.appmanager:Loaded Desktop Applications:

DEBUG:root:Installed Django modules: DesktopModule(hadoop:

hadoop),DesktopModule(Hue: desktop)

DEBUG:desktop.lib.conf:Loading configuration from: hue-beeswax.ini
DEBUG:desktop.lib.conf:Loading configuration from: hue.ini
DEBUG:desktop.lib.conf:Loading configuration from: hue-beeswax.ini
DEBUG:desktop.lib.conf:Loading configuration from: hue.ini

usage: hue subcommand [options] [args]



options:

  -v VERBOSITY, --verbosity=VERBOSITY

                        Verbosity level; 0=minimal output, 1=normal output,

                        2=all output

  --settings=SETTINGS   The Python path to a settings module, e.g.

                        "myproject.settings.main". If this isn't provided,
the

                        DJANGO_SETTINGS_MODULE environment variable will be

                        used.

  --pythonpath=PYTHONPATH

                        A directory to add to the Python path, e.g.

                        "/home/djangoprojects/myproject".

  --traceback           Print traceback on exception

  --version             show program's version number and exit

  -h, --help            show this help message and exit



Type 'hue help <subcommand>' for help on a specific subcommand.



Available subcommands:

  changepassword

  clean_pyc

  cleanup

  compile_pyc

  compilemessages

  config_dump

  config_help

  config_upgrade

  convert_to_south

  create_app

  create_command

  create_desktop_app

  create_jobs

  create_test_fs

  createcachetable

  createsuperuser

  datamigration

  dbshell

  depender_check

  depender_rewrite

  describe_form

  diffsettings

  dumpdata

  dumpscript

  export_emails

  flush

  generate_secret_key

  graph_models

  graphmigrations

  inspectdb

  kt_renewer

  loaddata

  mail_debug

  makemessages

  migrate

  passwd

  print_user_for_session

  reset

  reset_db

  runcpserver

  runfcgi

  runjob

  runjobs

  runprofileserver

  runpylint

  runscript

  runserver

  runserver_plus

  schemamigration

  set_fake_emails

  set_fake_passwords

  shell

  shell_plus

  show_templatetags

  show_urls

  sql

  sqlall

  sqlclear

  sqlcustom

  sqldiff

  sqlflush

  sqlindexes

  sqlinitialdata

  sqlreset

  sqlsequencereset

  startapp

  startmigration

  sync_media_s3

  syncdata

  syncdb

  test

  test_windmill

  testserver

  unreferenced_files

  validate



On my 32 bit, jobsubd and beeswax server subcommands are there.



Am i missing anything on 64 bit?



In log directory, there was only one runcpserver.out file. see below for the
message



starting server with options {'ssl_certificate': None, 'workdir': None,

'server_name': 'localhost', 'host': 'h1', 'daemonize': False, 'threads':

10, 'pidfile': None, 'server_group': 'hue', 'ssl_private_key': None,

'port': 8088, 'server_user': 'hue'}



Any help is highly appreciable. I've the same rpms on 32 and 64 bit. In
addition I've installed the 64 bit cyrus and hue-common rpm too.



Regards,

-- 
Sanjeev Sagar

Mime
View raw message