Pattern Matching for Self- Tuning of MapReduce Jobs