void initialize(Configuration conf, String serDeClassName, Properties tbl) throws WindowingException
{
if (serDeClassName == null)
{
throw new WindowingException("Cannot initialize MRWindowingInput, serDeClass is null");
}
try
{
serDe = (SerDe) SerDeUtils.lookupDeserializer(serDeClassName);
serDe.initialize(conf, tbl);
}
catch (RuntimeException e)
{
throw e;
}
catch (Exception e)
{
LOG.error("error in initSerDe: " + e.getClass().getName() + " " + e.getMessage());
throw new WindowingException(e.getClass().getName() + " " + e.getMessage());
}
}