code: @Override public RecordWriter<K,SAMRecordWritable> getRecordWriter(
              TaskAttemptContext ctx)
              throws IOException
      {
          return getRecordWriter(ctx, getDefaultWorkFile(ctx, ""));
      }
docs: <code>setSAMHeader</code> or <code>readSAMHeaderFrom</code> must have
  been called first.