Hue 可视化的Hadoop架构工具
来源:互联网 发布:启示录2优化补丁 编辑:程序博客网 时间:2024/05/20 18:16
转载地址:http://www.datawhy.net/index.php?m=blog&f=view&id=42
1)简介
大数据可视化工具
2)编译
下载地址
编译帮助文档
- ##解压
- $ tar -zxvf hue-3.7.0-cdh5.3.6.tar.gz -C /opt/cdh/
- $ cd /opt/cdh
- $ mv hue-3.7.0-cdh5.3.6hue-3.7.0
- ##yum安装相关组件(联网)
- $sudo yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi gcc gcc-c++ krb5-devel libtidy libxml2-devel libxslt-devel openldap-devel python-devel sqlite-devel openssl-devel mysql-devel gmp-devel
- ##编译
- $ cd /opt/cdh/hue-3.7.0
- $ make apps
- ##编译好的hue
- $ cd /opt/cdh/hue-3.7.0/apps
3)安装
配置文件目录:$ cd /opt/cdh/hue-3.7.0/desktop/conf ---> hue.ini
Hue.ini位于 Hue的 desktop/conf/ 目录下
配置如下(desktop):
[desktop] # Set this to a random string, the longer the better. # This is used for secure hashing in the session store. secret_key=jFE93j;2[290-eiw.KEiwN2s3['d;/.q[eIW^y#e=+Iei*@Mn
启动:
- $ cd /opt/cdh/hue-3.7.0/
- $ build/env/bin/supervisor
访问:
http://bigdata.caiwei.me:8888/4)集成hdfs
配置文档HDFS
- ##hdfs-site.xml
- dfs.webhdfs.enabledname>
- truevalue>
- property>
- ##core-site.xml
- hadoop.proxyuser.hue.hostsname>
- *value>
- property>
- hadoop.proxyuser.hue.groupsname>
- *value>
- property>
- ##集群之外访问:httpfs-site.xml
- httpfs.proxyuser.hue.hostsname>
- *value>
- property>
- httpfs.proxyuser.hue.groupsname>
- *value>
- property>
配置文档hue.ini
- fs_defaultfs=hdfs://bigdata.caiwei.me:8020
- # Default port is 14000 for HttpFs.
- webhdfs_url=http://bigdata.caiwei.me:50070/webhdfs/v1
- # Directory of the Hadoop configuration
- hadoop_conf_dir=/opt/cdh/hadoop-2.5.0/etc/hadoop
- # Directory of the Hadoop home
- hadoop_hdfs_home=/opt/cdh/hadoop-2.5.0/
- # Directory of the Hadoop bin
- hadoop_bin=/opt/cdh/hadoop-2.5.0/bin
6)集成yarn
需要启动 hiveserver2$ nohup hiveserver2 &配置文档hue.ini
- # Enter the host on which you are running the ResourceManager
- resourcemanager_host=bigdata.caiwei.me.com
- # The port where the ResourceManager IPC listens on
- resourcemanager_port=8032
- # Whether to submit jobs to this cluster
- submit_to=True
- # URL of the ResourceManager API
- resourcemanager_api_url=http://bigdata.caiwei.me:8088
- # URL of the ProxyServer API
- proxy_api_url=http://bigdata.caiwei.me:8088
- # URL of the HistoryServer API
- history_server_api_url=http://bigdata.caiwei.me:19888
7)集成hive
配置文档hue.ini
注意:本地metastore不用配置。不是本地需要配置:https://cwiki.apache.org/confluence/display/Hive/AdminManual+MetastoreAdmin#AdminManualMetastoreAdmin-Local/EmbeddedMetastoreDatabase(Derby)
- # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
- hive_server_host=bigdata.caiwei.me
- # Port where HiveServer2 Thrift server runs on.
- hive_server_port=10000
- # Hive configuration directory, where hive-site.xml is located
- hive_conf_dir=/opt/cdh/hive-0.13.1/conf
- # Timeout in seconds for thrift calls to Hive service
- server_conn_timeout=120
5)集成RDBMS
[[databases]]# mysql, oracle, or postgresql configuration.[[[mysql]]]# Name to show in the UI.nice_name="My SQL DB"# For MySQL and PostgreSQL, name is the name of the database.# For Oracle, Name is instance of the Oracle server. For express edition# this is 'xe' by default.name=test# Database backend to use. This can be:# 1. mysql# 2. postgresql# 3. oracleengine=mysql# IP or hostname of the database to connect to.host=bigdata.caiwei.me# Port the database server is listening to. Defaults are:# 1. MySQL: 3306# 2. PostgreSQL: 5432# 3. Oracle Express Edition: 1521port=3306# Username to authenticate with when connecting to the database.user=root# Password matching the username to authenticate with when# connecting to the database.password=123456
0 0
- Hue 可视化的Hadoop架构工具
- Hadoop可视化与交互式工具:Zeppelin和Hue
- Hadoop可视化分析利器之Hue
- Hue介绍入门--Hadoop可视化分析利
- Hadoop可视化分析利器之Hue
- Hadoop可视化分析利器之Hue
- hue快速入门--Hadoop可视化分析利
- 大数据可视化工具Hue安装使用
- hue与Hadoop的集成
- Hue与hadoop的集成配置
- Hadoop资源可视化、提高吞吐量的调度工具Pepperdata介绍
- hue 大数据的web工具
- Hadoop集成Hue详解
- HUE配置hadoop
- Mapr 安装hadoop的组件(十二)——安装Hue
- 初识Hue - 开源的 Apache Hadoop UI
- hue搭建(hadoop的伪分布式环境)
- 算法的可视化工具
- 播放Android项目工程里的视频文件
- 別れと出会いの春に
- 一招瞬间让微信公共平台菜单变的高大上,漂亮的方法(微信运营必看)
- 【软件后门】QQ密码框 - 2010
- org.hibernate.PropertyAccessException: Null value was assigned to a property。。。。完美解决
- Hue 可视化的Hadoop架构工具
- Android代码设置Shape,corners,Gradient
- 线程中更新 UILabel的text
- GDB/LLDB调试指令
- 大型网站架构演变和知识体系
- onSaveInstanceState和onRestoreInstanceState触发的时机
- 关于Glide图片加载框架的使用详解
- 阿里云服务器调用微信支付接口慢的解决方案 (api.mch.weixin.qq.com)
- javascript 反序列化json字符串