Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
05-19-2022
09:05 AM
- last edited on
04-21-2026
12:56 AM
by
GrazittiAPI
Hi Community,
We are working on a new requirement where I need to disable table-level TTL and rather use cell-level TTL for one of our HBase tables.
I can disable the table-level TTL by altering the table property and set cell-level TTL for new incoming data. However, I can't find anything on how can I set cell-level TTL for the data / rows that are already existing in the table.
Any suggestions will be very helpful.
Thank you,
Snehasish
Created 06-01-2022 04:45 AM
Cell TTL is something that is defined at insertion time. So for an already existing data, you can perform a put of the same cell, which then will have the exact cell value on a new Hfile with the new TTL for the cell.
Created 06-01-2022 04:45 AM
Cell TTL is something that is defined at insertion time. So for an already existing data, you can perform a put of the same cell, which then will have the exact cell value on a new Hfile with the new TTL for the cell.
Created 06-05-2022 11:23 PM
@SnehasishRSC, Has the reply helped resolve your issue? If so, can you please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future?
Regards,
Vidya Sargur,