Tez学习笔记-UI安装部署

相关版本
tez使用版本:tez-0.8.4.tar.gz
tomcat使用版本:tomcat-8.0.36.tar.gz
hadoop使用版本:hadoop-2.7.2.tar.gz

修改HADOOP配置文件yarn-site.xml,添加以下内容

 		yarn.timeline-service.enabled
 		true
        
        
                yarn.timeline-service.hostname
                host-10
        
        
               yarn.timeline-service.http-cross-origin.enabled
               true
        
        
               yarn.resourcemanager.system-metrics-publisher.enabled
               true
        
        
               yarn.timeline-service.generic-application-history.enabled
               true
        
        
               yarn.timeline-service.address
               host-10:10200
        
        
               yarn.timeline-service.webapp.address
               host-10:8188
        
        
               yarn.timeline-service.webapp.https.address
               host-10:8190
        
        
               yarn.timeline-service.handler-thread-count
               24
        
        
               yarn.timeline-service.leveldb-timeline-store.path
               /home/dataplat/hadoop-2.7.2/filesystem/yarn/timeline/
        
修改配置文件tez-site.xml,添加一下内容

        tez.history.logging.service.class
        org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
  
 
  
        tez.allow.disabled.timeline-domains
        true
  

  
        tez.tez-ui.history-url.base
        http://host-10:8080/tez-ui-0.8.4
  

启动timelineserver
hadoop-2.7.2$ sbin/yarn-daemon.sh start timelineserver

拷贝tez目录下tez-ui-0.8.4.war包到Tomcat的webapps目录
$ cp tez-0.8.4/tez-ui-0.8.4.war tomcat-8.0.36/webapps/
修改scripts目录下的configs.js文件,取消timelineBaseUrl、RMWebUrl注释,改为指定地址
timelineBaseUrl: 'http://192.168.0.115:8188'
RMWebUrl: 'http://192.168.0.115:8088'
重启Tomcat,页面访问http://host-10:8080/tez-ui-0.8.4即可看到tez-ui界面



你可能感兴趣的:(Hadoop,Tez)