@Override
  public void write(WritableComparable<?> key, HCatRecord value) throws IOException,
    InterruptedException {
    try {
      getBaseRecordWriter().write(null, serDe.serialize(value.getAll(), hcatRecordOI));
    } catch (SerDeException e) {
      throw new IOException("Failed to serialize object", e);
    }
  }
@param context current JobContext
@param baseRecordWriter RecordWriter to contain
@throws IOException
@throws InterruptedException
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/DefaultRecordWriterContainer.java