Description
We store each tag's length and total tags length with 2 bytes in KeyValue buffer, HFiles etc and we treat these lengths as short through out the code. So the max length can be Short.MAX_VALUE. We can treat these lengths as unsigned and +ve always. So we can actually treat these lengths as int and store with 2 bytes so that the max length can reach 65535.