Wouldn't the timestamp of the !METATABLE entries for each tablet give the
last time the tablet was compacted since the number of entries in each
tablet is tracked?


On Tue, Apr 29, 2014 at 9:41 PM, Mike Drob <[email protected]> wrote:

> It's a bit crude, but you could look at time stamps of the files in hdfs
> to get the time of the last minor compact.
> On Apr 29, 2014 7:35 PM, "Dickson, Matt MR" <[email protected]>
> wrote:
>
>>  *UNOFFICIAL*
>> Hi,
>>
>> Is there a way to identify tablets that have had no data loaded into them
>> for a period of time, eg 7 days?  My guess is that it this information
>> is in the metadata table but I'm not sure how to get it.  The reason for
>> asking is that I'd like to be able to list these tablets and force a
>> compaction on them to ageoff old data.  Because no data is being added, the
>> ageoff never occurs and our disk space usage continues to climb.
>>
>> Thanks in advance,
>> Matt
>>
>

Reply via email to