Update YarnAppMaster.java