title: Spark process file in chunks
body: <p>I would like to process chunks of data (from a csv file) and then do some analysis within each partition/chunk. 
  How do I do this and then process these multiple chunks in parallel fashion? I'd like to run map and reduce on each chunk </p>