return store;
}
private DataOutputStream createOutputStream(String fieldValue) throws IOException {
Configuration conf = ctx.getConfiguration();
TaskID taskId = ctx.getTaskAttemptID().getTaskID();
Path path = new Path(fieldValue, fieldValue + '-'
+ NumberFormat.getInstance().format(taskId.getId()));
Path workOutputPath = ((FileOutputCommitter)getOutputCommitter(ctx)).getWorkPath();
Path file = new Path(workOutputPath, path);
FileSystem fs = file.getFileSystem(conf);
FSDataOutputStream fileOut = fs.create(file, false);
return fileOut;