work on proper ApplicationManager setup (seems like the YarnConfiguration object is not setup properly) [ci skip]