Update the patch according YARN-947