Improving MapReduce scheduler for heterogeneous workloads in a heterogeneous environment