Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hue mysql database

hue mysql database

Super Collaborator

when i try to migrate the database from hue i have this error, there is the script to create the squema???

[root@lnxbig05 bin]# /usr/lib/hue/build/env/bin/hue syncdb --noinput
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/", line 41, in entry
    from desktop import settings, appmanager
  File "/usr/lib/hue/desktop/core/src/desktop/", line 208, in <module>
    conf.initialize(_lib_conf_modules, _config_dir)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/", line 588, in initialize
    conf_data = load_confs(_configs_from_dir(config_dir))
  File "/usr/lib/hue/desktop/core/src/desktop/lib/", line 518, in load_confs
    for in_conf in conf_source:
  File "/usr/lib/hue/desktop/core/src/desktop/lib/", line 498, in _configs_from_dir
    conf = configobj.ConfigObj(os.path.join(conf_dir, filename))
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/configobj-4.6.0-py2.6.egg/", line 1219, in __init__
    self._load(infile, configspec)
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/configobj-4.6.0-py2.6.egg/", line 1288, in _load
  File "/usr/lib/hue/build/env/lib/python2.6/site-packages/configobj-4.6.0-py2.6.egg/", line 1563, in _parse
    if parent.has_key(sect_name):
UnboundLocalError: local variable 'parent' referenced before assignmen

Re: hue mysql database

@Roberto Sancho

Are you running HDP or CDH? What version? Could you explain what are you trying to do with more details?

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