[toc]python
jdk
maven
git
第三方依賴 yum install -y gcc-c++ libxml2-devel.x86_64 libxslt-devel.x86_64 python-devel openldap-devel asciidoc cyrus-sasl-gssapi openssl-devel mysql-devel sqlite-devel gmp-devel libffi-devel npm 還有缺失什麼可自行安裝
groupadd huemysql
useradd -g hue huec++
su huegit
cd ~github
git clone https://github.com/cloudera/hue.gitweb
cd hue-mastersql
make apps 須要等待較長時間,若中間還缺乏依賴可自行安裝數據庫
vi /home/hue/hue-master/desktop/conf/pseudo-distributed.ininpm
[desktop]api
time_zone=Asia/Shanghai
[desktop]
server_user=hue
server_group=hue
default_user=hue
[hadoop]
[[hdfs_clusters]]
fs_defaultfs=hdfs://集羣名稱
webhdfs_url=http://hdfsMaster1:14000/webhdfs/v1
[hadoop]
[[yarn_clusters]]
[[[default]]]
resourcemanager_host=resourcemanager
resourcemanager_api_url=http://resourcemanager:8088
submit_to=True
proxy_api_url=http://172.19.131.104:8088
history_server_api_url=http://172.19.131.104:19888
(hue數據庫先建立好並授予權限給hue用戶) [database]
engine=mysql
host=mysqlhost
port=3306
user=hue
password=123456
name=hue
[oozie]
remote_data_dir=/user/hue/oozie/workspaces
enable_cron_scheduling=true
enable_document_action=true
[liboozie]
oozie_url=http://master1:11000/oozie
[beeswax]
hive_server_host=172.19.131.107
hive_server_port=10000
/home/hue/hue-master/build/env/bin/hue syncdb
/home/hue/hue-master/build/env/bin/hue migrate
/home/hue/hue-master/build/env/bin/supervisor
在hadoop的core-site配置文件下配置 hadoop.proxyuser.hue.groups=*
hadoop.proxyuser.hue.hosts=*
能夠在權限管理那裏(本人用的是ranger)進行hive的數據庫受權
可查看MapReduce的日誌,多是當前用戶沒法提交任務配置信息到yarn下的目錄