/** * Constructs a RCFile Writer. * * @param fs * the file system used * @param conf * the configuration file * @param name * the file name * @param progress a progress meter to update as the file is written * @param metadata a string to string map in the file header * @throws IOException */ public Writer(FileSystem fs, Configuration conf, Path name, Progressable progress, Metadata metadata, CompressionCodec codec) throws IOException { this(fs, conf, name, fs.getConf().getInt("io.file.buffer.size", 4096), ShimLoader.getHadoopShims().getDefaultReplication(fs, name), ShimLoader.getHadoopShims().getDefaultBlockSize(fs, name), progress, metadata, codec); }
/** * Constructs a RCFile Writer. * * @param fs * the file system used * @param conf * the configuration file * @param name * the file name * @param progress a progress meter to update as the file is written * @param metadata a string to string map in the file header * @throws IOException */ public Writer(FileSystem fs, Configuration conf, Path name, Progressable progress, Metadata metadata, CompressionCodec codec) throws IOException { this(fs, conf, name, fs.getConf().getInt("io.file.buffer.size", 4096), ShimLoader.getHadoopShims().getDefaultReplication(fs, name), ShimLoader.getHadoopShims().getDefaultBlockSize(fs, name), progress, metadata, codec); }
/** * Constructs a RCFile Writer. * * @param fs * the file system used * @param conf * the configuration file * @param name * the file name * @param progress a progress meter to update as the file is written * @param metadata a string to string map in the file header * @throws IOException */ public Writer(FileSystem fs, Configuration conf, Path name, Progressable progress, Metadata metadata, CompressionCodec codec) throws IOException { this(fs, conf, name, fs.getConf().getInt("io.file.buffer.size", 4096), ShimLoader.getHadoopShims().getDefaultReplication(fs, name), ShimLoader.getHadoopShims().getDefaultBlockSize(fs, name), progress, metadata, codec); }
/** * Constructs a RCFile Writer. * * @param fs * the file system used * @param conf * the configuration file * @param name * the file name * @param progress a progress meter to update as the file is written * @param metadata a string to string map in the file header * @throws IOException */ public Writer(FileSystem fs, Configuration conf, Path name, Progressable progress, Metadata metadata, CompressionCodec codec) throws IOException { this(fs, conf, name, fs.getConf().getInt("io.file.buffer.size", 4096), ShimLoader.getHadoopShims().getDefaultReplication(fs, name), ShimLoader.getHadoopShims().getDefaultBlockSize(fs, name), progress, metadata, codec); }