source: proiecte/HadoopJUnit/hadoop-0.20.1/src/examples/pipes/README.txt @ 141

Last change on this file since 141 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 408 bytes
Line 
1To run the examples, first compile them:
2
3% ant -Dcompile.c++=yes examples
4
5and then copy the binaries to dfs:
6
7% bin/hadoop fs -put build/c++-examples/Linux-i386-32/bin /examples/bin
8
9create an input directory with text files:
10
11% bin/hadoop fs -put my-data in-dir
12
13and run the word count example:
14
15% bin/hadoop pipes -conf src/examples/pipes/conf/word.xml \
16                   -input in-dir -output out-dir
Note: See TracBrowser for help on using the repository browser.