public static WALEdit createBulkLoadEvent(RegionInfo hri,
    WALProtos.BulkLoadDescriptor bulkLoadDescriptor) {
    KeyValue kv = new KeyValue(getRowForRegion(hri), METAFAMILY, BULK_LOAD,
      EnvironmentEdgeManager.currentTime(), bulkLoadDescriptor.toByteArray());
    return new WALEdit().add(kv, METAFAMILY);
  }
Create a bulk loader WALEdit
@param hri                The RegionInfo for the region in which we are bulk loading
@param bulkLoadDescriptor The descriptor for the Bulk Loader
@return The WALEdit for the BulkLoad
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALEdit.java