adding rack awareness to hadoop, currently hard-coded