[
https://issues.apache.org/jira/browse/TEZ-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sushil Kumar S updated TEZ-1622:
--------------------------------
Attachment: TEZ-1622.1.patch
Created two directories under tez-dist i.e tez-dist/bin and tez-dist/etc/conf ,
where tez-dist/bin has the tez equivalent script like Yarn as Tez jobs are all
Yarn based applications and tez-dist/etc/conf has tez-site.xml and
tez-site.xml.template as i thought would be ideal creating it.
Additionally have abstracted out setting up HADOOP_CLASSPATH stuffs into
tez-env.sh and is taken care by single script tez which is similar to hadoop or
yarn script.
Steps to be followed assuming mvn package and tez-x.x.x-SNAPSHOT.tar.gz is
copied into HDFS path /apps/tez-x.x.x-SNAPSHOT :
- goto /tez-dist/etc/conf
- copy tez-site.xml.template to tez-site.xml and add necessary tez configs i.e
for example tez.lib.uris point to the
/apps/tez-x.x.x-SNAPSHOT//apps/tez-x.x.x-SNAPSHOT.tar.gz
- finally goto /tez-dist/bin and use ./tez command to launch tez applications
[~gopalv] and [~chetna] kindly review it.
> Implement a "tez jar" equivalent script to avoid the complexities of "hadoop
> jar"
> ---------------------------------------------------------------------------------
>
> Key: TEZ-1622
> URL: https://issues.apache.org/jira/browse/TEZ-1622
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Gopal V
> Attachments: TEZ-1622.1.patch
>
>
> Currently, the only way to run a tez job by hand is to setup multiple
> parameters like HADOOP_CLASSPATH and then do hadoop jar {{main-class}}.
> This is inconvenient and complex - find an easier way.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)