Fixed: was passing the wrong ApplicationMaster class name to yarn.