Package org.apache.hadoop.hbase.regionserver.wal.HLog

Examples of org.apache.hadoop.hbase.regionserver.wal.HLog.Writer


      // SplitLogWorker is written to a temporary area.
      editsfile = convertRegionEditsToTemp(rootdir, regionedits, tmpname);
    } else {
      editsfile = regionedits;
    }
    Writer w = createWriter(fs, editsfile, conf);
    LOG.debug("Creating writer path=" + editsfile + " region="
        + Bytes.toStringBinary(region));
    return (new WriterAndPath(editsfile, w));
  }
View Full Code Here


      // SplitLogWorker is written to a temporary area.
      editsfile = convertRegionEditsToTemp(rootdir, regionedits, tmpname);
    } else {
      editsfile = regionedits;
    }
    Writer w = createWriter(fs, editsfile, conf);
    LOG.debug("Creating writer path=" + editsfile + " region="
        + Bytes.toStringBinary(region));
    return (new WriterAndPath(editsfile, w));
  }
View Full Code Here

          + fs.getFileStatus(regionedits).getLen());
      if (!HBaseFileSystem.deleteFileFromFileSystem(fs, regionedits)) {
        LOG.warn("Failed delete of old " + regionedits);
      }
    }
    Writer w = createWriter(fs, regionedits, conf);
    LOG.debug("Creating writer path=" + regionedits + " region="
        + Bytes.toStringBinary(region));
    return (new WriterAndPath(regionedits, w));
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.regionserver.wal.HLog.Writer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.