Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how is hex key generated in hbase

how is hex key generated in hbase

Master Collaborator

for a value of 99 , the hbase shows the key value as "\x80\x00\x00c" and for value of 1 in phoenix hbase shows it as "\x80\x00\x00\x01"

how are these values generated? hex of dec 1 is 1 but what is "\x80"? also hex for dec 99 is 63 so how we get "\x00c" ?


107552-phoenix-hbase-rowkey.jpg