This website requires JavaScript.

Hadoop: HUE安装配置记录

安装教程

下载及安装方法

https://github.com/cloudera/hue

启动

默认监听本地127.0.0.1 , 其他机器无法访问,因此改为0.0.0.0

cd /usr/local/hue ./build/env/bin/hue runserver 0.0.0.0:8000

配置

官方配置文档

http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

HDFS

HDFS一节的配置需要在各个NameNode和Datanodes上的hdfs-site.xml和core-site.xml进行配置. 注意adoop.proxyuser.hue.hosts 与 hadoop.proxyuser.hue.groups 其中的hue改为你实际运行hue的用户名和用户组

hdfs dfsadmin -safemode leave

YARN

注意把localhost改为自己主机地址

Oozie

安装文档 http://www.bihell.com/oozie-installation/

Hue UI Customization

The Hue Web UI has the following customization options in hue.ini under [desktop] > [[custom]].
**Banner**
You can add a custom banner to the Hue Web UI by applying HTML directly to the property, banner_top_html. For example:
banner_top_html=<H4>My company's custom Hue Web UI banner</H4>
To configure a banner in Cloudera Manager:
1. Go to the Hue service. 2. Click the Configuration  tab. 3. Select Scope > Hue Server  and Category > Advanced . 4. Locate Top Banner Custom HTML  and input your desired HTML in the text field. 5. Click Save Changes  to commit the changes. 6. Select Actions > Restart and, when done, click Close . 7. Click Web UI to view your changes.
0条评论
avatar