Last change
on this file since 120 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 | |
---|
1 | To run the examples, first compile them: |
---|
2 | |
---|
3 | % ant -Dcompile.c++=yes examples |
---|
4 | |
---|
5 | and then copy the binaries to dfs: |
---|
6 | |
---|
7 | % bin/hadoop fs -put build/c++-examples/Linux-i386-32/bin /examples/bin |
---|
8 | |
---|
9 | create an input directory with text files: |
---|
10 | |
---|
11 | % bin/hadoop fs -put my-data in-dir |
---|
12 | |
---|
13 | and 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.