资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

HUE3.7.0安装与配置

1、安装依赖包

创新互联公司主要从事网页设计、PC网站建设(电脑版网站建设)、wap网站建设(手机版网站建设)、响应式网站设计、程序开发、网站优化、微网站、小程序设计等,凭借多年来在互联网的打拼,我们在互联网网站建设行业积累了丰富的成都网站设计、做网站、网站设计、网络营销经验,集策划、开发、设计、营销、管理等多方位专业化运作于一体。

yum install rsync gcc openldap-develpython-ldapMySQL-develpython-devel python-setuptools python-simplejson sqlite-devellibxml2-devel libxslt-devel cyrus-sasl-devel opnldap openldap24-libs openldap-clients openldap-devel openssl-devel

easy_install ipdb ipython nose coverage nosetty threadframe werkzeug windmill

2、下载hue的cdh版本

wget http://archive-primary.cloudera.com/cdh6/cdh/5/hue-3.7.0-cdh6.4.2.tar.gz

3、解压安装

tar zxvf hue-3.7.0-cdh6.4.2.tar.gz

cd hue-3.7.0-cdh6.4.2

make install PREFIX=/hue HADOOP_HOME=/home/hadoop/hadoop

ln -s /hue/hue/desktop/libs/hadoop/java-lib/hue-plugins-3.7.0-cdh6.4.2.jar /home/hadoop/hadoop/lib

4、创建hue相关mysql数据

mysql -u root -p

create database hue;
grant all on hue.* to 'hue'@'localhost' identified by 'Ab1234567890';
grant all on hue.* to 'hue'@'hd1' identified by 'Ab1234567890';
grant all on hue.* to 'hue'@'%' identified by 'Ab1234567890';

5、同步hue初始化数据
/hue/hue/build/env/bin/hue migrate
/hue/hue/build/env/bin/hue syncdb

6、配置文件

vim /hue/hue/desktop/conf/hue.ini

[desktop]

secret_key=XXXX11112222

http_host=hd1 (可以写ip)
http_port=7777

time_zone=Asia/Shanghai

server_user=hadoop
server_group=hadoop
default_user=hadoop
default_hdfs_superuser=hadoop

default_site_encoding=utf-8

[hadoop]

fs_defaultfs=hdfs://hd1:9000

webhdfs_url=http://hd1:14000/webhdfs/v1

hadoop_conf_dir='/home/hadoop/hadoop/etc/hadoop'

[beeswax]

hive_server_host=hd1

hive_server_port=10000

hive_conf_dir=/usr/local/spark/spark-1.3.0-bin-hadoop2.3/conf

其他功能如果不用的话可以不进行配置,

beeswax就是hive,如果要想使用spark-sql,必须先保证spark的thriftserver是正常工作的。则hue会通过beeswax吧hiveql直接发送给sparksql的thriftserver。


网站标题:HUE3.7.0安装与配置
文章源于:http://cdkjz.cn/article/ihedeg.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220