fixed the job creation for cdh4