private static int roundSize(long sizeInByte, int sizeUnit) {
    if (sizeInByte == 0) {
      return 0;
    } else if (sizeInByte < sizeUnit) {
      return 1;
    } else {
      return (int) Math.min(sizeInByte / sizeUnit, Integer.MAX_VALUE);
    }
  }
Run init. Sets up wal and starts up all server threads.
@param c Extra configuration.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java