ARIA: Automatic Resource Inference and Allocation for MapReduce Environments