티스토리 뷰
Tez는 Yarn 애플리케이션 히스토리 서버의 정보를 이용해서 TEZ UI를 제공하고, 이 서비스를 이용해서 작업 정보를 확인할 수 있습니다.
TEZ-UI 다운로드 - 파일 다운로드
tez ui는 TEZ에서 제공하는 war 파일을 웹서버를 이용해서 실행하는 형태로 진행합니다. 0.9.2 버전은 war 파일을 기본적으로 제공하고, 0.10.0 버전은 war 파일을 따로 다운로드 받아야 합니다.
메이븐 리파지토리에서 파일을 다운로드 할 수 있습니다. 버전에 맞게 선택하여 다운로드 하시기 바랍니다.
https://repo1.maven.org/maven2/org/apache/tez/tez-ui/
Tomcat 설정 - 9999 포트 설정
${TOMCAT_HOME}/conf 아래 server.xml 설정에서 Tomcat의 기본 포트를 변경해 줍니다.
<Connector port="9999" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Tez-ui 설정
다운 받은 war 파일을 ${TOMCAT_HOME}/webapps/ 아래 압축 해제합니다. ${TOMCAT_HOME}/webapps/tez-ui/config/config.env 파일의 설정을 변경하여 줍니다.
tez-site.xml 설정
tez-site.xml
-------------
...
<property>
<description>Enable Tez to use the Timeline Server for History Logging</description>
<name>tez.history.logging.service.class</name>
<value>org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService</value>
</property>
<property>
<description>URL for where the Tez UI is hosted</description>
<name>tez.tez-ui.history-url.base</name>
<value>http://<webserver-host:9999/tez-ui/</value>
</property>
...
yarn-site.xml 설정
yarn-site.xml
-------------
...
<property>
<description>Indicate to clients whether Timeline service is enabled or not.
If enabled, the TimelineClient library used by end-users will post entities
and events to the Timeline server.</description>
<name>yarn.timeline-service.enabled</name>
<value>true</value>
</property>
<property>
<description>The hostname of the Timeline service web application.</description>
<name>yarn.timeline-service.hostname</name>
<value>localhost</value>
</property>
<property>
<description>Enables cross-origin support (CORS) for web services where
cross-origin web response headers are needed. For example, javascript making
a web services request to the timeline server.</description>
<name>yarn.timeline-service.http-cross-origin.enabled</name>
<value>true</value>
</property>
<property>
<description>Publish YARN information to Timeline Server</description>
<name> yarn.resourcemanager.system-metrics-publisher.enabled</name>
<value>true</value>
</property>
...
톰캣 실행
이후 톰캣을 실행하면 tez-ui 를 확인할 수 있습니다. ${TOMCAT_HOME}/bin/startup.sh를 실행하면 됩니다.
참고
https://www.programmersought.com/article/68765041730/
반응형
'빅데이터 > hive' 카테고리의 다른 글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- SQL
- emr
- hbase
- bash
- HDFS
- 알고리즘
- AWS
- 하이브
- 하둡
- airflow
- Tez
- 오류
- error
- ubuntu
- nodejs
- mysql
- 백준
- Hadoop
- S3
- java
- Python
- SPARK
- 다이나믹
- 정올
- Linux
- oozie
- 파이썬
- yarn
- HIVE
- build
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함