You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2010/01/15 01:16:17 UTC
[Pig Wiki] Update of "DataGeneratorHadoop" by RobStewart
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The "DataGeneratorHadoop" page has been changed by RobStewart.
http://wiki.apache.org/pig/DataGeneratorHadoop?action=diff&rev1=3&rev2=4
--------------------------------------------------
export HADOOP_CLASSPATH=$pigjar:$zipfjar:$datagenjar
+ ===== For Hadoop 0.18 =====
hadoop jar -libjars $zipfjar $datagenjar org.apache.pig.test.utils.datagen.DataGenerator -conf $conf_file [options] colspec...
+
+ ===== For Hadoop 0.20 or Greater =====
+ hadoop jar $datagenjar org.apache.pig.test.utils.datagen.DataGenerator -libjars $zipfjar -conf $conf_file [options] colspec..
* options:
* -m: number of mappers to run concurrently to generate data. If not configured or equal to 0, it runs in local mode.