static int getCellLength(Cell cell) {
    return cell.getSerializedSize();
  }
Get cell length after serialized in {@link KeyValue}
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Segment.java