code: public void setJobName(String name) throws IllegalStateException {
      ensureState(JobState.DEFINE);
      conf.setJobName(name);
    }
docs: Set the user-specified job name.
  
  @param name the job's new name.
  @throws IllegalStateException if the job is submitted