if (groupSpec == null) {
String fileName = "map-" + getTaskId();
SplitSpec splitSpec = (SplitSpec) ObjectSerializer.deserialize(job.get("pig.splitSpec", ""));
if(splitSpec != null) splitSpec.instantiateFunc(pigContext);
if (splitSpec == null){
pigWriter = (PigRecordWriter) job.getOutputFormat().getRecordWriter(FileSystem.get(job), job, fileName,
reporter);
oc = new OutputCollector<WritableComparable, Tuple>() {