From 50c410546b0be0a27e18fb3ee20c388d0fc09d5e Mon Sep 17 00:00:00 2001 From: Jonathan Turner Eagles Date: Thu, 13 Mar 2014 15:35:46 +0000 Subject: [PATCH] MAPREDUCE-5765. Update hadoop-pipes examples README (Mit Desai via jeagles) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1577203 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-mapreduce-project/CHANGES.txt | 2 ++ .../hadoop-pipes/src/main/native/examples/README.txt | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index e6828b8a700..f6b1f875d0b 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -17,6 +17,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 diff --git a/hadoop-tools/hadoop-pipes/src/main/native/examples/README.txt b/hadoop-tools/hadoop-pipes/src/main/native/examples/README.txt index b9448f558a2..6ea8ca11a71 100644 --- a/hadoop-tools/hadoop-pipes/src/main/native/examples/README.txt +++ b/hadoop-tools/hadoop-pipes/src/main/native/examples/README.txt @@ -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