blob: 46853043328c906272a0c64bcc8b5958de157eda [file] [log] [blame]
To run the examples, first compile them:
% ant -Dcompile.c++=yes examples
and then copy the binaries to dfs:
% bin/hadoop fs -put build/c++-examples/Linux-i386-32/bin /examples/bin
create an input directory with text files:
% bin/hadoop fs -put my-data in-dir
and run the word count example:
% bin/hadoop pipes -conf src/examples/pipes/conf/word.xml \
-input in-dir -output out-dir