// Get schema string and sorting info from UDFContext and re-store them to
// job config.
Properties properties = UDFContext.getUDFContext().getUDFProperties(
this.getClass(), new String[]{ udfContextSignature } );
ZebraSchema zSchema = ZebraSchema.createZebraSchema(properties.getProperty(UDFCONTEXT_OUTPUT_SCHEMA));
ZebraSortInfo zSortInfo = ZebraSortInfo.createZebraSortInfo(properties.getProperty(UDFCONTEXT_SORT_INFO), null);
ZebraStorageHint zStorageHint = ZebraStorageHint.createZebraStorageHint(storageHintString);
try {
BasicTableOutputFormat.setStorageInfo(job, zSchema, zStorageHint, zSortInfo);
} catch (ParseException e) {
throw new IOException("Invalid storage info: " + e.getMessage());