YARN-2168. [YARN-2139] Avoid over-allocation of disk resources. (Wei Yan via kasha)