下载hue 1.2
以前叫cloudera desktop,使用django作为web框架
1. 安装
HADOOP_HOME=/hadoop/hadoop0.20.2 PREFIX=/hadoop/hue make install
waiting .. .. ..
执行完会在PREFIX指定的路径下生成hue的服务程序
2.配置
mysql> create database hue;
mysql> grant all on hue.* to 'peter'@'localhost' identified by 'peter';
在hue/desktop/conf配置hue.ini
[[database]]engine=mysqlhost=localhostport=3306user=peterpassword=petername=huehadoop,hdfs,mapred配置hadoop_home=/hadoop/hadoop0.20.2hadoop_conf_dir=/hadoop/hadoop0.20.2/confhdfs_port=8020http_port=50070jobtracker_host=localhost
3.配置hive
hive_home=/hadoop/hive0.70hive_conf_dir= /hadoop/hive0.70/conf
4.初始化
/hadoop/hue/build/env/bin/hue syncdb --noinput
5.启动
/hadoop/hue/build/env/bin/supervisor