You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2014/05/06 23:44:06 UTC
git commit: TEZ-1105. Fix docs to ensure users are aware of adding
"*" for HADOOP_CLASSPATH. (hitesh)
Repository: incubator-tez
Updated Branches:
refs/heads/master cb9eb515b -> e2e1aa36d
TEZ-1105. Fix docs to ensure users are aware of adding "*" for HADOOP_CLASSPATH. (hitesh)
Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/e2e1aa36
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/e2e1aa36
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/e2e1aa36
Branch: refs/heads/master
Commit: e2e1aa36d5d140afeec2cf81f1cc2bfabb6d9b18
Parents: cb9eb51
Author: Hitesh Shah <hi...@apache.org>
Authored: Tue May 6 14:43:40 2014 -0700
Committer: Hitesh Shah <hi...@apache.org>
Committed: Tue May 6 14:43:40 2014 -0700
----------------------------------------------------------------------
INSTALL.txt | 4 ++++
docs/src/site/apt/install.apt | 3 +++
2 files changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e2e1aa36/INSTALL.txt
----------------------------------------------------------------------
diff --git a/INSTALL.txt b/INSTALL.txt
index 9f39d53..652675f 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -30,6 +30,10 @@ Install/Deploy Instructions
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.
+ - The command to set up the classpath should be something like:
+ "export HADOOP_CLASSPATH=${TEZ_CONF_DIR}:${TEZ_JARS}/*:${TEZ_JARS}/lib/*".
+ - Please note the "*" which is an important requirement when setting up classpaths for directories container jar files.
+
7) Submit a MR job as you normally would using something like:
$HADOOP_PREFIX/bin/hadoop jar hadoop-mapreduce-client-jobclient-2.2.0-tests.jar sleep -mt 1 -rt 1 -m 1 -r 1
http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/e2e1aa36/docs/src/site/apt/install.apt
----------------------------------------------------------------------
diff --git a/docs/src/site/apt/install.apt b/docs/src/site/apt/install.apt
index 68d5dff..9dbc8eb 100644
--- a/docs/src/site/apt/install.apt
+++ b/docs/src/site/apt/install.apt
@@ -45,6 +45,9 @@ Install/Deploy Instructions
* TEZ_JARS and TEZ_JARS/libs - location of the tez jars and dependencies.
+ * The command to set up the classpath should be something like: "export HADOOP_CLASSPATH=$\{TEZ_CONF_DIR\}:$\{TEZ_JARS\}/*:$\{TEZ_JARS\}/lib/*". Please note the "*" which is an important requirement when setting up classpaths for directories containing jar files.
+
+
[[i]] Submit a MR job as you normally would using something like:
+---+