Search code examples
hbasebigdata

Rows with identical keys


When I need to create an HBase-row, I have to call Put(row_key) method. Then, what happens if I'll call Put() method again with the same row_key value? Will the existing row be updated or HBase will create the new row?

Is it possible to create 2 rows with identical keys?


Solution

  • Row-keys are used to identify a row uniquely in Hbase. If you want two rows to have identical keys, then you are missing something. Please add more information regarding your requirement, or revisit the basics of Hbase architecture