TaskAttemptContext context) throws IOException, InterruptedException {
super(baseWriter, context);
maxDynamicPartitions = jobInfo.getMaxDynamicPartitions();
dynamicPartCols = jobInfo.getPosOfDynPartCols();
if (dynamicPartCols == null) {
throw new HCatException("It seems that setSchema() is not called on "
+ "HCatOutputFormat. Please make sure that method is called.");
}
this.baseDynamicSerDe = new HashMap<String, SerDe>();
this.baseDynamicWriters =