Author: todd
Date: Thu May 12 07:15:13 2011
New Revision: 1102183
URL: http://svn.apache.org/viewvc?rev=1102183&view=rev
Log:
MAPREDUCE-2410. Add entry to streaming FAQ about how streaming reducers receive
keys. Contributed by Harsh J Chouraria.
Modified:
hadoop/mapreduce/branches/branch-0.22/CHANGES.txt
hadoop/mapreduce/branches/branch-0.22/src/docs/src/documentation/content/xdocs/streaming.xml
Modified: hadoop/mapreduce/branches/branch-0.22/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.22/CHANGES.txt?rev=1102183&r1=1102182&r2=1102183&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.22/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/branch-0.22/CHANGES.txt Thu May 12 07:15:13 2011
@@ -194,6 +194,9 @@ Release 0.22.0 - Unreleased
MAPREDUCE-869. Documentation for config to set map/reduce task environment
(Alejandro Abdelnur via todd)
+ MAPREDUCE-2410. Add entry to streaming FAQ about how streaming reducers
+ receive keys. (Harsh J Chouraria via todd)
+
OPTIMIZATIONS
MAPREDUCE-1354. Enhancements to JobTracker for better performance and
Modified:
hadoop/mapreduce/branches/branch-0.22/src/docs/src/documentation/content/xdocs/streaming.xml
URL:
http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.22/src/docs/src/documentation/content/xdocs/streaming.xml?rev=1102183&r1=1102182&r2=1102183&view=diff
==============================================================================
---
hadoop/mapreduce/branches/branch-0.22/src/docs/src/documentation/content/xdocs/streaming.xml
(original)
+++
hadoop/mapreduce/branches/branch-0.22/src/docs/src/documentation/content/xdocs/streaming.xml
Thu May 12 07:15:13 2011
@@ -785,6 +785,15 @@ For details see <a href="mapred_tutorial
</p>
</section>
+<!-- QUESTION -->
+<section>
+<title>How does the use of streaming differ from the Java MapReduce
API?</title>
+<p>
+ The Java MapReduce API provides a higher level API that lets the developer
focus on writing map and reduce functions that act upon a pair of key and
associated value(s). The Java API takes care of the iteration over the data
source behind the scenes.
+ In streaming, the framework pours in the input data over the stdin to the
mapper/reduce program, and thus these programs ought to be written from the
reading (via stdin) iteration level. A practical consequence of this is that
reducers for streaming need to be able to deal with different input keys.
+ Some alternative interfaces for particular programming languages can be
found <a
href="http://wiki.apache.org/hadoop/HadoopStreaming/AlternativeInterfaces">here</a>.
+</p>
+</section>
<!-- QUESTION -->
<section>