title: Python Mapreduce running on duplicate data read from hbase
body: <p>I have written a mapreduce code using python streaming(having only mapper function implementation) and used happybase to read from  Hbase.
  When I am running a mapreduce code in 5 node distribution since the python streaming code is having a scan function which reads records from hbase and is distributed throughout the cluster all the mapper instances created are processing on the same data sets extracted/read from the hbase .</p>
  
  <p>example:</p>
  
  <pre><code>for key, data in table.scan(row_start='1'):
  
      Somecompute( key, data)
  </code></pre>
  
  <p>Here if i have 100  rows in hbase all the mapper instances spawned in the cluster is processing same 100 records from hbase since it is executing the same mapper code in the distribution hence duplication.
  My requirement is that m1 mapper should process 1 to 20 records,m2 mapper should process 21 to 40 records,m3 should process 41 to 60 etc....
  How can i achieve this in python streaming using happy base?
  Could anyone please help.
  Thanks!!</p>