title: How to split the input file in Apache Spark
body: <p>Suppose I have an input file of size 100MB. It contains large number of points (lat-long pair) in CSV format. What should I do in order to split the input file in 10 10MB files in Apache Spark or how do I customize the split.</p>
  
  <p>Note: I want to process a subset of the points in each mapper.</p>