This reverts commit de526e166c. With this commit, the patch of https://issues.apache.org/jira/browse/YARN-10850 has been committed.
de526e166c