String tmpFile = memDumpDir + "/memDump" + UUID.randomUUID() + "." + RFile.EXTENSION;
Configuration newConf = new Configuration(conf);
newConf.setInt("io.seqfile.compress.blocksize", 100000);
FileSKVWriter out = new RFileOperations().openWriter(tmpFile, fs, newConf, ServerConfiguration.getSiteConfiguration());
out.startDefaultLocalityGroup();
InterruptibleIterator iter = map.skvIterator();
iter.seek(new Range(), LocalityGroupUtil.EMPTY_CF_SET, false);
while (iter.hasTop() && activeIters.size() > 0) {