我的hadoop集群是在centos上安装的,最近测试安装hue.build完成之后,启动hue爆出如下错误:
KeyError: "Couldn't get user id for user hue"
参考:https://github.com/cloudera/hue/issues/27
增加了hue用户,再次启动还是报错.
Traceback (most recent call last):
File "/home/spark/hue/branch-3.9/build/env/bin/hue", line 11, in
load_entry_point('desktop', 'console_scripts', 'hue')()
File "/home/spark/hue/branch-3.9/desktop/core/src/desktop/manage_entry.py", line 59, in entry
execute_from_command_line(sys.argv)
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 261, in fetch_command
commands = get_commands()
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 54, in getattr
self._setup(name)
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 49, in setup
self._wrapped = Settings(settings_module)
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/_init__.py", line 128, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/home/spark/hue/branch-3.9/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/importlib.py", line 40, in import_module
import(name)
File "/home/spark/hue/branch-3.9/desktop/core/src/desktop/settings.py", line 34, in
from desktop.lib.python_util import force_dict_to_strings
File "/home/spark/hue/branch-3.9/desktop/core/src/desktop/lib/python_util.py", line 23, in
from desktop import conf
File "/home/spark/hue/branch-3.9/desktop/core/src/desktop/conf.py", line 29, in
from desktop.lib.conf import Config, ConfigSection, UnspecifiedConfigSection,\
File "/home/spark/hue/branch-3.9/desktop/core/src/desktop/lib/conf.py", line 72, in
import configobj
KeyboardInterrupt
请大家帮我看一下这是什么问题?谢谢