static int estimateSize(ZKUtilOp op) {
    return Bytes.toBytes(op.getPath()).length;
  }
Partition the list of {@code ops} by size (using {@link #estimateSize(ZKUtilOp)}).
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java