Hadoop vs. Spark: Choosing the Right Framework