大数据协作框架Hue
一,概述
1,参考文档
http://gethue.com/ 官网
http://github.com/cloudera/hue 源码
http://archive.cloudera.com/cdh5/cdh/5/hue-3.7.0-cdh5.3.6/ hue安装指南
3,特性:
- free&open source
- be productive
- 100%compatible
- 4dynamic search dashboar with solr(动态的solr集成)
- spark and hadoop notebooks
4,结构示意图:
二,Hue的安装和部署
1,下载源码包CDH5.3.6版本:
http://archive.cloudera.com/cdh5/cdh/5/hue-3.7.0-cdh5.3.6.tar.gz
2,虚拟机连接互联网
3,安装hue所以依赖的系统包,针对不同的unix系统,需要root权限
yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi gcc gcc-c++ krb5-devel libtidy libxml2-devel libxslt-devel openldap-devel python-devel sqlite-devel openssl-devel mysql-devel gmp-devel
4,解压hue源码包到指定的目录下
[root@xingyunfei001 app]# tar zxf hue-3.7.0-cdh5.3.6.tar.gz
5,编译源码包
[root@xingyunfei001 app]# cd hue-3.7.0-cdh5.3.6/
[root@xingyunfei001 hue-3.7.0-cdh5.3.6]# make apps
6,修改配置文件hue.ini
vi /opt/app/hue-3.7.0-cdh5.3.6/desktop/conf/hue.ini
# Set this to a random string, the longer the better.
# This is used for secure hashing in the session store.
secret_key=qpbdxoewsqlkhztybvfidtvwekftusgdlofbcfghaswuicmqp
# Webserver listens on this address and port
http_host=xingyunfei001.comcn
http_port=8888
# Time zone name
time_zone=Asia/Shanghai