code: public static Writer
      createWriter(Configuration conf, FSDataOutputStream out, 
                   Class keyClass, Class valClass, CompressionType compressionType,
                   CompressionCodec codec)
      throws IOException {
      Writer writer = createWriter(conf, out, keyClass, valClass, compressionType,
                                   codec, new Metadata());
      return writer;
    }
docs: Construct the preferred type of 'raw' SequenceFile Writer.
  @param conf The configuration.
  @param out The stream on top which the writer is to be constructed.
  @param keyClass The 'key' type.
  @param valClass The 'value' type.
  @param compressionType The compression type.
  @param codec The compression codec.
  @return Returns the handle to the constructed SequenceFile Writer.
  @throws IOException