@Override
  public RecordWriter<K, V> getRecordWriter(FileSystem ignored, JobConf job,
      String name, Progressable progress) throws IOException {

    return new IgnoreKeyWriter<K, V>(super.getRecordWriter(ignored, job, name,
        progress));
  }
This class replaces key with null before feeding the &lt;key, value&gt; to
TextOutputFormat.RecordWriter.

@deprecated use {@link HiveIgnoreKeyTextOutputFormat} instead}
ql/src/java/org/apache/hadoop/hive/ql/io/IgnoreKeyTextOutputFormat.java