secret_key=jFE93j;2[290-eiw.KEiwN2s3['d;/.q[eIW^y#e=+Iei*@Mn<qW5o
http_host=mini01
http_port=8888
time_zone=Asia/Shanghai
# Webserver runs as this user
server_user=hue
server_group=hue
与HDFS集成按照如下配置
[[hdfs_clusters]]# HA support by using HttpFs#hdfs如果配置了高可用,则需要使用hffpFs[[[default]]]#我没有配置高可用所以端口是9000,如果高可用则是8020# Enter the filesystem uri
fs_defaultfs=hdfs://mini01:9000
# NameNode logical name.## logical_name=# Use WebHdfs/HttpFs as the communication mechanism.# Domain should be the NameNode or HttpFs host.# Default port is 14000 for HttpFs.## webhdfs_url=http://localhost:50070/webhdfs/v1#这里如果配置了高可用,那么端口就是14000
webhdfs_url=http://mini01:50070/webhdfs/v1
# Change this if your HDFS cluster is Kerberos-secured##security_enabled=false# Default umask for file and directory creation, specified in an octal value.## umask=022# Directory of the Hadoop configuration## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'#配置hadoop的一些配置文件路径
hadoop_conf_dir=/home/hadoop/install/hadoop-2.5.0-cdh5.3.6/etc/hadoop
hadoop_hdfs_home=/home/hadoop/install/hadoop-2.5.0-cdh5.3.6
hadoop_bin=/home/hadoop/install/hadoop-2.5.0-cdh5.3.6/bin
与YARN的集成相关配置如下
[[yarn_clusters]][[[default]]]# Enter the host on which you are running the ResourceManager## resourcemanager_host=localhost
resourcemanager_host=mini01
# The port where the ResourceManager IPC listens on## resourcemanager_port=8032
resourcemanager_port=8032
# Whether to submit jobs to this cluster
submit_to=True
# Resource Manager logical name (required for HA)## logical_name=# Change this if your YARN cluster is Kerberos-secured## security_enabled=false# URL of the ResourceManager API## resourcemanager_api_url=http://localhost:8088
resourcemanager_api_url=http://mini01:8088
# URL of the ProxyServer API## proxy_api_url=http://localhost:8088# URL of the HistoryServer API## history_server_api_url=http://localhost:19888#历史服务器
history_server_api_url=http://mini02:19888
# In secure mode (HTTPS), if SSL certificates from Resource Manager's# Rest Server have to be verified against certificate authority## ssl_cert_ca_verify=False# HA support by specifying multiple clusters# e.g.#配置HA高可用# [[[ha]]]# Resource Manager logical name (required for HA)## logical_name=my-rm-name
<!--Enable WebHDFS (REST API) in Namenodes and Datanodes--><property><name>dfs.webhdfs.enabled</name><value>true</value></property><!--关闭权限检查--><property><name>dfs.permissions.enabled</name><value>false</value></property>