Memory or Time: Performance Evaluation for Iterative Operation on Hadoop and Spark