An introduction to Apache Spark