Big data analytics in the cloud: Spark on Hadoop vs MPI/OpenMP on Beowulf