title: hadoop streaming : how to give list of key values to reducer?
body: <p>so when we use <code>Java</code> for writing <code>map/reduce</code> program, the map collects the data and reducer receives the list of values per key, like</p>
  
  <pre><code>Map(k, v) -&gt; k1, v1  
      then shuffle and sort happens  
      then reducer gets it  
  
  reduce(k1, List&lt;values&gt;)  
  </code></pre>
  
  <p>to work on. but is it possible to do the same with <code>python</code> using <code>streaming</code>?  I used <a href="http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/" rel="nofollow">this</a> as reference and seems like reducer gets data per line as supplied on command-line</p>