code: public static Writer
      createWriter(FileSystem fs, Configuration conf, Path name, 
                   Class keyClass, Class valClass, 
                   CompressionType compressionType, CompressionCodec codec,
                   Progressable progress) throws IOException {
      Writer writer = createWriter(fs, conf, name, keyClass, valClass, 
                                   compressionType, codec, progress, new Metadata());
      return writer;
    }
docs: Construct the preferred type of SequenceFile Writer.
  @param fs The configured filesystem.
  @param conf The configuration.
  @param name The name of the file.
  @param keyClass The 'key' type.
  @param valClass The 'value' type.
  @param compressionType The compression type.
  @param codec The compression codec.
  @param progress The Progressable object to track progress.
  @return Returns the handle to the constructed SequenceFile Writer.
  @throws IOException