public static byte[] getRowForRegion(RegionInfo hri) {
    byte[] startKey = hri.getStartKey();
    if (startKey.length == 0) {
      // empty row key is not allowed in mutations because it is both the start key and the end key
      // we return the smallest byte[] that is bigger (in lex comparison) than byte[0].
      return new byte[] { 0 };
    }
    return startKey;
  }
Returns A Marker WALEdit that has <code>c</code> serialized as its value
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALEdit.java