1. tez complie 및 tar.gz 생성 git clone https://github.com/apache/tez cd tez pom.xml 을 수정 mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true (pig 0.15.0 의 경우 tez 0.7.0 , hadoop 2.6.0 기본 변경이 필요한 경우 수정하여 재Build ) 2. Hadoop 적용 $hadoop fs -mkdir /apps/tez $hadoop fs -put tez-dist/target/tez-0.7.0.tar.gz /apps/tez (tez lib 들은 hdfs 에 존재해야 함) mkdir ~/programs/tez
|
- tez-ui
shell>tar -zxvf apache-tomcat-7.0.50.tar.gz shell>ln -s ../packages/apache-tomcat-7.0.50/ shell>cd webapps shell>mkdir tez-ui shell>cd tez-ui shell>cp ~/packages/tez-0.7.0/tez-ui-0.7.0.war . shell>jar xvf tez-ui-0.7.0.war shell>cd scripts shell>vi config.js
vi .bashrc 에 아래내용을 추가
|
- 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>master.xxxxxxxx</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> <property> <description>The http address of the Timeline service web application.</description> <name>yarn.timeline-service.webapp.address</name> <value>master.xxxxxx:0000</value> </property> <property> <description>The https address of the Timeline service web application.</description> <name>yarn.timeline-service.webapp.https.address</name> <value>master.xxxxxx:0000</value> </property> |
- tez-ui 기동
tomcat/bin/startup.sh
참고:
http://webcache.googleusercontent.com/search?q=cache:4-8KRMbKBwUJ:duguyiren3476.iteye.com/blog/2232780+&cd=12&hl=ko&ct=clnk&gl=kr&lr=lang_ko%7Clang_ja
pig/lib/h2/ 밑에 tez 관련 jar 파일들 이 존재
'Hadoop > Pig' 카테고리의 다른 글
tez 0.7.0 에서 0.8.2 로 업그레이드 (0) | 2016.08.03 |
---|---|
Pig & Tez Error (0) | 2016.08.03 |
Pig 재빌드 (0) | 2016.08.03 |
pig centos 하일라이팅 (0) | 2016.08.03 |