Andrea
Andrea

Reputation: 2764

HBase: Column Family TTL

According with HBase specs :

"ColumnFamilies can set a TTL length in seconds, and HBase will automatically delete rows once the expiration time is reached. This applies to all versions of a row - even the current one. The TTL time encoded in the HBase for the row is specified in UTC."

Specifically what I'm not understanding is this sentence "Once the expiration time is reached"...of what? All versions of all cells? at least one version of one cell?

Suppose I have a table which has a column family with TTL set to X.

Upvotes: 3

Views: 5340

Answers (1)

Ian Varley
Ian Varley

Reputation: 9457

That appears to be a typo in the HBase reference guide. It should say "cell", not "row"; a row has no built-in timestamp other than the timestamp of its cells.

Upvotes: 11

Related Questions