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币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
Hue错误: Load Balancer 该角色的进程启动失败
错误如下:需要提前安装环境  httpd, mod_sslyum install httpdyum install mod_ssl安装好之后, 重启就好了
CDH 添加hue报错
今天想在CDH中添加hue , 但是测试连接出现错误哪位大神帮我看看 , 下面是log日志 ,
HUE安装及问题
在实际企业中一般会使用Hue来取代HWI功能,Hue提供了远远比HWI更加强大丰富的功能。具体安装配置如下:        搭建环境centos6.5 64    如果想在ubuntu开发的话,请参考这里面的文档 http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/   所需的安装包  jdk8  hue-3.11.0.tg
(一)cdh5.3.6下hue3.7.0的安装部署
本文介绍如何在centOS6.4环境下安装hue环境! 一、安装环境列表 centOS6.4 hue-3.7.0-cdh5.3.6 cdh5.3.6 jdk1.7.0_67 hadoop2.5.0 hive-0.13.1-cdh5.3.6 oozie-4.0.0-cdh5.3.6 下载地址:http://archive.cloudera.com/cdh5/cdh/5/ 二、安装
hue配置问题
打开hue首页会出现如下问题: 1. 设置问题,在hadoop目录下 hdfs-site.xml文件中添加如下设置,(根据官方设置得来) hadoop.proxyuser.hue.hosts * hadoop.proxyuser.hue.groups * 修改完,还是有小错误,会显示“Current
安装Hue后的一些功能的问题解决干货总结
不多说,直接上干货!   我的集群机器情况是 bigdatamaster(192.168.80.10)、bigdataslave1(192.168.80.11)和bigdataslave2(192.168.80.12)   然后,安装目录是在/home/hadoop/app下。     官方建议在master机器上安装Hue,我这里也不例外。安装在bigdatamaster机器上。  
[CDH5] CDH5.13.1 hue服务红色警告,启动失败
CentOS7, 安装CDH5.13.1集群完成后,hue上面红色感叹号,日志提示[Errno 2] No such file or directory: '/data/log/hue-httpd/error_log'原因:服务器环境没有预先安装httpd,mod_ssl服务解决方法:yum -y install httpdyum -y install mod_ssl安装以上服务后重启hue,启动...
CDH5 Hue Spark报错完美解决方案
CDH5自己集成了Spark,根据gu可以很方便的安装
安装hue-3.11.0并迁移数据库至postgresql
集成hue到ambari,使用hue作为操作ui
Hue-安装-配置-添加Oozie
安装步骤参考 http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/ 配置步骤参考 http://shiyanjun.cn/archives/1002.html修改配置文件$vi hue/desktop/conf/pseudo-distributed.ini 启动hue服务#build/env/bin/supervisor &e