public static long byteStringAsKb(String str) {
        return parseByteString(str, ByteUnit.KiB);
    }
Convert a passed byte string (e.g. 50b, 100k, or 250m) to kibibytes for
internal use.

If no suffix is provided, the passed number is assumed to be in kibibytes.
indexr-query-opt/src/main/java/org/apache/spark/util/JavaUtils.java