public void submit() throws IOException, ClassNotFoundException, InterruptedException, Exception { ensureState(JobState.DEFINE); info = jobClient.submitJobInternal(this); state = JobState.RUNNING; }