More Logic for yarn job manager.