// get encoded as regular characters. Otherwise any control characters
// in the store funcspec would break the job.xml which is created by
// hadoop from the jobconf.
jobConf.set("pig.storeFunc", ObjectSerializer.serialize(outputFuncSpec.toString()));
jobConf.set(PIG_STORE_CONFIG,
ObjectSerializer.serialize(new StoreConfig(outputPath, st.getSchema())));
jobConf.set("pig.streaming.log.dir",
new Path(outputPath, LOG_DIR).toString());
jobConf.set("pig.streaming.task.output.dir", outputPath);
}