centos安装Hue 3.7.0

来源:互联网 发布:弱电网络系统 编辑:程序博客网 时间:2024/05/16 15:35

Hue 是运营和开发Hadoop应用的图形化用户界面。Hue程序被整合到一个类似桌面的环境,以web程序的形式发布,对于单独的用户来说不需要额外的安装。

要求:Python 2.6 - 2.7

安装:

下载源代码

[jifeng@jifeng04 git]$ git clone http://github.com/cloudera/hue.git
[jifeng@jifeng04 git]$ cd hue

编译
[jifeng@jifeng04 hue]$ make apps

运行
[jifeng@jifeng04 hue]$ build/env/bin/hue runserver

[jifeng@jifeng03 hue]$ build/env/bin/hue runserver/home/jifeng/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:110: DeprecationWarning: The SECRET_KEY setting must not be empty.  warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning)/home/jifeng/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/conf/__init__.py:110: DeprecationWarning: The SECRET_KEY setting must not be empty.  warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning)Validating models...0 errors foundDjango version 1.4.5, using settings 'desktop.settings'Development server is running at http://127.0.0.1:8000/Quit the server with CONTROL-C.


[jifeng@jifeng03 hue]$ cat VERSION # Licensed to Cloudera, Inc. under one# or more contributor license agreements.  See the NOTICE file# distributed with this work for additional information# regarding copyright ownership.  Cloudera, Inc. licenses this file# to you under the Apache License, Version 2.0 (the# "License"); you may not use this file except in compliance# with the License.  You may obtain a copy of the License at##     http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.## This file should be the one source of truth for for versions within HUE.# It is at least included by each of the default hue app's setup.py.VERSION="3.7.0"


开启Hbase 的thrift服务,可以用hue管理hbase

[jifeng@jifeng01 ~]$ hbase-daemon.sh start thrift   
starting thrift, logging to /home/jifeng/hbase-0.94.21/logs/hbase-jifeng-thrift-jifeng01.out


https://github.com/cloudera/hue

0 0