{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"docs","path":"docs","contentType":"directory"},{"name":"tez-api","path":"tez-api","contentType":"directory"},{"name":"tez-common","path":"tez-common","contentType":"directory"},{"name":"tez-dag","path":"tez-dag","contentType":"directory"},{"name":"tez-dist","path":"tez-dist","contentType":"directory"},{"name":"tez-mapreduce-examples","path":"tez-mapreduce-examples","contentType":"directory"},{"name":"tez-mapreduce","path":"tez-mapreduce","contentType":"directory"},{"name":"tez-runtime-internals","path":"tez-runtime-internals","contentType":"directory"},{"name":"tez-runtime-library","path":"tez-runtime-library","contentType":"directory"},{"name":"tez-tests","path":"tez-tests","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"BUILDING.txt","path":"BUILDING.txt","contentType":"file"},{"name":"CHANGES.txt","path":"CHANGES.txt","contentType":"file"},{"name":"DISCLAIMER.txt","path":"DISCLAIMER.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"KEYS","path":"KEYS","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"NOTICE.txt","path":"NOTICE.txt","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"}],"totalCount":20}},"fileTreeProcessingTime":5.076322,"foldersToFetch":[],"repo":{"id":10637895,"defaultBranch":"master","name":"incubator-tez","ownerLogin":"apache","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-06-12T07:00:18.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/47359?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"branch-0.2.0","listCacheKey":"v0:1686845631.5678039","canEdit":false,"refType":"branch","currentOid":"aa52065501c98a1e93dacbfb01c9b11598af4a1b"},"path":"INSTALL.txt","currentUser":null,"blob":{"rawLines":["How to use TEZ","=======================","","Tez provides an ApplicationMaster that can run any arbritary DAG of tasks. It also","provides a translation layer to run MR or MRR jobs using the MR APIs. This translation","layer is not fully feature compatible so if you do see any issues with running your","existing MR jobs on TEZ, please file jiras.","","Install/Deploy Instructions","===========================","","1) Deploy Apache Hadoop either using the 2.2.0 release or use 3.0.0-SNAPSHOT from trunk.","2) Build tez using \"mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true\""," - If you prefer to run the unit tests, remove skipTests from the command above."," - If you would like to create a tarball of the release, use"," \"mvn clean package -Dtar -DskipTests=true -Dmaven.javadoc.skip=true\"","3) Copy the tez jars and their dependencies into HDFS."," - The tez jars and dependencies will be found in tez-dist/target/tez-0.2.0-SNAPSHOT/tez-0.2.0-SNAPSHOT"," if you run the intial command mentioned in step 2."," - Assuming that the tez jars are put in /apps/ on HDFS, the command would be"," \"hadoop dfs -put tez-dist/target/tez-0.2.0-SNAPSHOT/tez-0.2.0-SNAPSHOT /apps/\""," - Please do not upload the tarball to HDFS, upload only the jars.","4) Configure tez-site.xml to set tez.lib.uris to point to the paths in HDFS containing"," the jars. Please note that the paths are not searched recursively so for "," and /lib/, you will need to configure the 2 paths as a comma-separated list."," - Assuming you followed step 3, the value would be:"," \"${fs.default.name}/apps/tez-0.2.0-SNAPSHOT,${fs.default.name}/apps/tez-0.2.0-SNAPSHOT/lib/\"","5) Modify mapred-site.xml to change \"mapreduce.framework.name\" property from its"," default value of \"yarn\" to \"yarn-tez\"","6) set HADOOP_CLASSPATH to have the following paths in it:"," - TEZ_CONF_DIR - location of tez-site.xml"," - TEZ_JARS and TEZ_JARS/libs - location of the tez jars and dependencies.","7) Submit a MR job as you normally would using something like:","","$HADOOP_PREFIX/bin/hadoop jar hadoop-mapreduce-client-jobclient-3.0.0-SNAPSHOT-tests.jar sleep -mt 1 -rt 1 -m 1 -r 1","","This will use the TEZ DAG ApplicationMaster to run the MR job. This can be","verified by looking at the AM's logs from the YARN ResourceManager UI.","","8) There is a basic example of using an MRR job in the tez-mapreduce-examples.jar. Refer to OrderedWordCount.java","in the source code. To run this example:","","$HADOOP_PREFIX/bin/hadoop jar tez-mapreduce-examples.jar orderedwordcount ","","This will use the TEZ DAG ApplicationMaster to run the ordered word count job. This job is similar","to the word count example except that it also orders all words based on the frequency of","occurrence.","","There are multiple variations to run orderedwordcount. You can use it to run multiple","DAGs serially on different inputs/outputs. These DAGs could be run separately as","different applications or serially within a single TEZ session.","","$HADOOP_PREFIX/bin/hadoop jar tez-mapreduce-examples.jar orderedwordcount ...","","The above will run multiple DAGs for each input-output pair. To use TEZ sessions,","set -DUSE_TEZ_SESSION=true","","$HADOOP_PREFIX/bin/hadoop jar tez-mapreduce-examples.jar orderedwordcount -DUSE_TEZ_SESSION=true "],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/apache/incubator-tez/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"INSTALL.txt","displayUrl":"https://github.com/apache/incubator-tez/blob/branch-0.2.0/INSTALL.txt?raw=true","headerInfo":{"blobSize":"3.27 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"f60a487","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-tez%2Fblob%2Fbranch-0.2.0%2FINSTALL.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"58","truncatedSloc":"46"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/apache/incubator-tez/blob/branch-0.2.0/INSTALL.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/apache/incubator-tez/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/apache/incubator-tez/raw/branch-0.2.0/INSTALL.txt","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/apache/incubator-tez/branches":{"post":"l05Y8T09EL8CUfYduphIGw2K03Qov9G0LfpMP22GGUDf5nScvuLm4GAlM6L6ZOzO0_yTnsgrifa4httsx1Vg8A"},"/repos/preferences":{"post":"hgY6E21o80ltqNMwX3_SbRoQtwrdRXfd48B53GV3xk86jSbP301QP_eYQG6mSnkPW9KHp48ZDKIFzWzJRNbZOQ"}}},"title":"incubator-tez/INSTALL.txt at branch-0.2.0 ยท apache/incubator-tez"}