From 8ff80139d707b3c226fd6371f8899b3888b55567 Mon Sep 17 00:00:00 2001 From: Arun Murthy Date: Thu, 25 Aug 2011 20:15:42 +0000 Subject: [PATCH] Fixed randomwriter command in INSTALL git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1161729 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/INSTALL b/hadoop-mapreduce-project/INSTALL index fbdb6ca184f..9fd06936dfb 100644 --- a/hadoop-mapreduce-project/INSTALL +++ b/hadoop-mapreduce-project/INSTALL @@ -92,7 +92,7 @@ Step 15) bin/yarn-daemon.sh start historyserver Step 16) You are all set, an example on how to run a mapreduce job is: cd $HADOOP_MAPRED_HOME ant examples -Dresolvers=internal -$HADOOP_COMMON_HOME/bin/hadoop jar $HADOOP_MAPRED_HOME/build/hadoop-mapreduce-examples-0.23.0-SNAPSHOT.jar randomwriter -Dmapreduce.job.user.name=$USER -Dmapreduce.clientfactory.class.name=org.apache.hadoop.mapred.YarnClientFactory -Dmapreduce.randomwriter.bytespermap=0.23.000 -Ddfs.blocksize=536870912 -Ddfs.block.size=536870912 -libjars $YARN_HOME/modules/hadoop-mapreduce-client-jobclient-0.23.0-SNAPSHOT.jar output +$HADOOP_COMMON_HOME/bin/hadoop jar $HADOOP_MAPRED_HOME/build/hadoop-mapreduce-examples-0.23.0-SNAPSHOT.jar randomwriter -Dmapreduce.job.user.name=$USER -Dmapreduce.clientfactory.class.name=org.apache.hadoop.mapred.YarnClientFactory -Dmapreduce.randomwriter.bytespermap=10000 -Ddfs.blocksize=536870912 -Ddfs.block.size=536870912 -libjars $YARN_HOME/modules/hadoop-mapreduce-client-jobclient-0.23.0-SNAPSHOT.jar output The output on the command line should be almost similar to what you see in the JT/TT setup (Hadoop 0.20/0.21)