This is a portion of the job example:
Here is an example on how to submit a job:
// Create a new Job
Job job = new Job(new Configuration());
This way of creating a job is deprecated. The user is supposed to use Job.getInstance. The example should be changed to reflect the new paradigm.