2 qq 26937525 qq_26937525 于 2017.01.17 15:03 提问

Hue安装的问题(启动失败)
hue

我的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

请大家帮我看一下这是什么问题?谢谢

3个回答

qq_26383111
qq_26383111   2017.07.21 09:22

解决了吗,我也出现这个问题了诶

taoliyu01
taoliyu01   2017.08.24 18:56

解决了吗?我也是这个问题

taoliyu01
taoliyu01   2017.08.24 19:23

修改用户组用户权限后:chown -R groupname:username *
,问题解决(http://img.ask.csdn.net/upload/201708/24/1503573724_715577.png)

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!