protected void adjustArraySize(int newSize) {
    if (keyStart == null || keyStart.length < newSize) {
      keyStart = new int[newSize];
      keyLength = new int[newSize];
      valueStart = new int[newSize];
      valueLength = new int[newSize];
      keyInited = new boolean[newSize];
      keyIsNull = new boolean[newSize];
      valueInited = new boolean[newSize];
      valueIsNull = new boolean[newSize];
      keyObjects = new LazyBinaryPrimitive<?, ?>[newSize];
      valueObjects = new LazyBinaryObject[newSize];
    }
  }
Adjust the size of arrays: keyStart, keyLength valueStart, valueLength
keyInited, keyIsNull valueInited, valueIsNull.
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryMap.java