private JobConf jobConf(HadoopContext hadoopContext) {
        JobConf jobconf = new JobConf();
        jobconf.setJobName("stackoverflow");
        jobconf.setUser("hduser");
        jobconf.setMapperClass(StackoverflowCommentsToCsv.Map.class);
        jobconf.setNumReduceTasks(0);
        jobconf.setOutputValueClass(IntWritable.class);
        jobconf.setOutputKeyClass(Text.class);
        jobconf.set("fs.defaultFS", hadoopContext.getHdfs());
        jobconf.setWorkingDirectory(new Path(hadoopContext.getHome()));
        return jobconf;
    }