在HUE的hdfs_clusters中目前主要是配置hdfs相关的,配置好了之后便可以在hue中愉快的管理数据了,不过目前的配置还是比较。。。简单的。。
里面的配置主要是参考了hue官方文档,还有两家主要hadoop厂商cloudera和hortonwork。
1 hdfs集群配置
在hadoop-hdfs_clusters.defalut 节点下配置以下参数:
-
fs_defaultfs
: -
logical_name
: NameNode 逻辑名称 -
webhdfs_url
: httpfs的路径 -
security_enabled
:是否开启 Kerberos -
hadoop_conf_dir
: hadoop 配置文件路径
[[hdfs_clusters]]
# HA support by using HttpFs [[[default]]]
# Enter the filesystem uri
##--Customer Configuration --##
fs_defaultfs=hdfs://hadoop-cluster # NameNode logical name.
logical_name=hadoop-cluster # Use WebHdfs/HttpFs as the communication mechanism.
# Domain should be the NameNode or HttpFs host.
# Default port is 14000 for HttpFs.
##--Customer Configuration --##
webhdfs_url=http://-:/webhdfs/v1 # Change this if your HDFS cluster is Kerberos-secured
## security_enabled=false # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
# have to be verified against certificate authority
## ssl_cert_ca_verify=True # Directory of the Hadoop configuration
hadoop_conf_dir=$HADOOP_CONF_DIR
参考:
http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/
http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/
http://cloudera.github.io/hue/docs-3.8.0/manual.html#_hadoop_configuration
http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.2/bk_installing_manually_book/content/rpm-chap-hue-5.html
http://www.bkjia.com/yjs/957251.html
http://itindex.net/detail/52831-hue