博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Setting Up Tez Ui
阅读量:7034 次
发布时间:2019-06-28

本文共 2597 字,大约阅读时间需要 8 分钟。

本文介绍了tez ui的安装配置。在上一篇源代码编译安装tez的时候,已经生成了tez-ui-0.9.0.war文件,具体配置过程如下:

1、Tomcat的配置

[hadoop@hdp01 ~]$ wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-9/v9.0.2/bin/apache-tomcat-9.0.2.tar.gz[hadoop@hdp01 u01]$ tar -xzf /home/hadoop/apache-tomcat-9.0.2.tar.gz;mv apache-tomcat-9.0.2 tomcat--编辑bin/catalina.sh,加入下面的内容:[hadoop@hdp01 u01]$ vi tomcat/bin/catalina.shexport CATALINA_BASE=/u01/tomcatexport CATALINA_HOME=/u01/tomcatexport CATALINA_TMPDIR=/u01/tomcat/temp

2、解压war文件

[hadoop@hdp01 ~]$ mkdir /u01/tomcat/webapps/tez-ui[hadoop@hdp01 ~]$ cd  /u01/tomcat/webapps/tez-ui[hadoop@hdp01 tez-ui]$ unzip /u01/tez/tez-ui-0.9.0.war--编辑config目录下的configs.env,更改以下内容:[hadoop@hdp01 tez-ui]$ vi config/configs.envtimeline: "http://192.168.120.96:8188",rm: "http://192.168.120.96:8088",

3、配置timelineserver

3.1 编辑yarn-site.xml
加入以下内容:

yarn.timeline-service.enabled
true
yarn.timeline-service.hostname
hdp01
yarn.timeline-service.http-cross-origin.enabled
true
yarn.resourcemanager.system-metrics-publisher.enabled
true
yarn.timeline-service.generic-application-history.enabled
true
Address for the Timeline server to start the RPC server.
yarn.timeline-service.address
hdp01:10201
The http address of the Timeline service web application.
yarn.timeline-service.webapp.address
hdp01:8188
The https address of the Timeline service web application.
yarn.timeline-service.webapp.https.address
hdp01:2191
yarn.timeline-service.handler-thread-count
24

3.2 编辑tez-site.xml

加入以下内容:

tez.history.logging.service.class
org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
tez.tez-ui.history-url.base
http://hdp01:8080/tez-ui/

3.3 启动timelineserver

[hadoop@hdp01 ~]$ yarn-daemon.sh start timelineserver

4、启动Tomcat服务

[hadoop@hdp01 ~]$ /u01/tomcat/bin/startup.sh &

5、测试访问

通过访问指定主机的8080端口即可访问tez ui界面。
Setting Up Tez Ui

转载于:https://blog.51cto.com/candon123/2055102

你可能感兴趣的文章
静态语言与动态语言
查看>>
我的友情链接
查看>>
eclipse 解决编译出现GBK或UTF8 编码错误的方法
查看>>
CSS综合复习(三)
查看>>
脚本化文档
查看>>
多线程
查看>>
linux双网卡绑定简要步骤
查看>>
setsockopt()用法
查看>>
sed命令实例
查看>>
20180102-正则表达式和grep
查看>>
Android开发之如何让父控件不拦截子空间的事件
查看>>
大型网站技术架构(六)网站的伸缩性架构
查看>>
MyEclipse+Tomcat+MAVEN+SVN项目完整环境搭建
查看>>
Java基础学习总结(13)——流IO
查看>>
Maven学习总结(三)——使用Maven构建项目
查看>>
Tomcat在Linux上的安装与配置
查看>>
CentOS 6和CentOS 7命令区别
查看>>
OUTLOOK2007 即时搜索失效解决经过
查看>>
SVN学习总结(2)——SVN冲突解决
查看>>
Maven学习总结(四)——Maven核心概念
查看>>