Will this code below work if the job isn't a MR job and we don't have mapReduceJobState? We should write it so that it would.