Flexible Map Reduce on Amazon EC2