I am checking some concepts in Definitive guide and could not figure out this small logic.
When you convert VIntWritable to Byte Array and convert that byte array to string, there is additional '8f' at the start of any avalue.
for eg:
for normal IntWritable the value of 172 in hexa decimal representation is - 000000ac
for VIntWritable, the HexaDecimal String for 172 is 8fac
for VIntWritable, the HexaDecimal String for -172 is 87ab
I am confused. could you please elaborate a bit.?