add bug fixing when submit a AM using ORTE, (especially for the jobId in MR/YARN conversion).