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安装与配置
当前网址:https://www.cdcxhl.com/article46/ihedeg.html

成都网站建设公司_创新互联,为您提供动态网站用户体验品牌网站制作企业建站软件开发网站收录

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都网页设计公司