MAPREDUCE-5765. Update hadoop-pipes examples README (Mit Desai via jeagles)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1577188 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6af044bb75
commit
a8f302a1e6
@ -156,6 +156,8 @@ Release 2.5.0 - UNRELEASED
|
||||
MAPREDUCE-5665. Add audience annotations to MiniMRYarnCluster and
|
||||
MiniMRCluster. (Anubhav Dhoot via kasha)
|
||||
|
||||
MAPREDUCE-5765. Update hadoop-pipes examples README (Mit Desai via jeagles)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -1,16 +1,16 @@
|
||||
To run the examples, first compile them:
|
||||
|
||||
% mvn install
|
||||
% mvn install -Pdist,native
|
||||
|
||||
and then copy the binaries to dfs:
|
||||
|
||||
% hadoop fs -put target/native/wordcount-simple /examples/bin/
|
||||
% hdfs dfs -put target/native/examples/wordcount-simple /examples/bin/
|
||||
|
||||
create an input directory with text files:
|
||||
|
||||
% hadoop fs -put my-data in-dir
|
||||
% hdfs dfs -put my-data in-dir
|
||||
|
||||
and run the word count example:
|
||||
|
||||
% hadoop pipes -conf src/main/native/examples/conf/word.xml \
|
||||
% mapred pipes -conf src/main/native/examples/conf/word.xml \
|
||||
-input in-dir -output out-dir
|
||||
|
Loading…
Reference in New Issue
Block a user