public ElephantRecordWriter(Configuration conf, Args args, Progressable progressable) throws IOException { fileSystem = Utils.getFS(args.outputDirHdfs, conf); this.args = args; this.progressable = progressable; localManager = new LocalElephantManager(fileSystem, args.spec, LocalElephantManager.getTmpDirs(conf)); }