Snapshots TTL doesn't work in HBase-1.4.10

2019-11-03 Thread Alexander Batyrshin
 Hello,
I observe that snapshots option TTL has no effect in HBase-1.4.10.
Our snapshots created every night:

> snapshot ’VIRT_STORAGE', 'snapshot-VIRT_STORAGE-${SNAP_DATE}', {TTL => 
> 1209600}

Right now I see:

snapshot-VIRT_STORAGE-20191016   VIRT_STORAGE (Wed 
Oct 16 03:20:19 +0400 2019)
snapshot-VIRT_STORAGE-20191017   VIRT_STORAGE (Thu 
Oct 17 03:20:11 +0400 2019)
snapshot-VIRT_STORAGE-20191018   VIRT_STORAGE (Fri 
Oct 18 03:19:28 +0400 2019)
snapshot-VIRT_STORAGE-20191019   VIRT_STORAGE (Sat 
Oct 19 03:20:09 +0400 2019)
snapshot-VIRT_STORAGE-20191020   VIRT_STORAGE (Sun 
Oct 20 03:20:06 +0400 2019)
snapshot-VIRT_STORAGE-20191021   VIRT_STORAGE (Mon 
Oct 21 03:20:07 +0400 2019)
snapshot-VIRT_STORAGE-20191022   VIRT_STORAGE (Tue 
Oct 22 03:20:21 +0400 2019)
snapshot-VIRT_STORAGE-20191023   VIRT_STORAGE (Wed 
Oct 23 03:20:19 +0400 2019)
snapshot-VIRT_STORAGE-20191024   VIRT_STORAGE (Thu 
Oct 24 03:21:21 +0400 2019)
snapshot-VIRT_STORAGE-20191025   VIRT_STORAGE (Fri 
Oct 25 03:22:06 +0400 2019)
snapshot-VIRT_STORAGE-20191026   VIRT_STORAGE (Sat 
Oct 26 03:21:53 +0400 2019)
snapshot-VIRT_STORAGE-20191027   VIRT_STORAGE (Sun 
Oct 27 02:22:16 +0300 2019)
snapshot-VIRT_STORAGE-20191028   VIRT_STORAGE (Mon 
Oct 28 02:21:44 +0300 2019)
snapshot-VIRT_STORAGE-20191029   VIRT_STORAGE (Tue 
Oct 29 02:35:41 +0300 2019)
snapshot-VIRT_STORAGE-20191030   VIRT_STORAGE (Wed 
Oct 30 02:18:58 +0300 2019)
snapshot-VIRT_STORAGE-20191031   VIRT_STORAGE (Thu 
Oct 31 02:16:56 +0300 2019)
snapshot-VIRT_STORAGE-20191101   VIRT_STORAGE (Fri 
Nov 01 02:16:46 +0300 2019)
snapshot-VIRT_STORAGE-20191102   VIRT_STORAGE (Sat 
Nov 02 02:17:05 +0300 2019)
snapshot-VIRT_STORAGE-20191103   VIRT_STORAGE (Sun 
Nov 03 02:17:20 +0300 2019)
snapshot-VIRT_STORAGE-20191104   VIRT_STORAGE (Mon 
Nov 04 02:17:03 +0300 2019)

As a reminder: HBase-1.4.10 doesn’t has ‘snapshot_cleanup_switch’ command.

Any ideas what is going wrong?

Re: Snapshots TTL doesn't work in HBase-1.4.10

2019-11-03 Thread Viraj Jasani
Hi Alexander,

Snapshot TTL feature is available on major releases 1.5.0 and 2.3.0 as of
now and not on any 1.4 patch releases.


On Mon, 4 Nov 2019 at 5:51 AM, Alexander Batyrshin <0x62...@gmail.com>
wrote:

>  Hello,
> I observe that snapshots option TTL has no effect in HBase-1.4.10.
> Our snapshots created every night:
>
> > snapshot ’VIRT_STORAGE', 'snapshot-VIRT_STORAGE-${SNAP_DATE}', {TTL =>
> 1209600}
>
> Right now I see:
>
> snapshot-VIRT_STORAGE-20191016   VIRT_STORAGE
> (Wed Oct 16 03:20:19 +0400 2019)
> snapshot-VIRT_STORAGE-20191017   VIRT_STORAGE
> (Thu Oct 17 03:20:11 +0400 2019)
> snapshot-VIRT_STORAGE-20191018   VIRT_STORAGE
> (Fri Oct 18 03:19:28 +0400 2019)
> snapshot-VIRT_STORAGE-20191019   VIRT_STORAGE
> (Sat Oct 19 03:20:09 +0400 2019)
> snapshot-VIRT_STORAGE-20191020   VIRT_STORAGE
> (Sun Oct 20 03:20:06 +0400 2019)
> snapshot-VIRT_STORAGE-20191021   VIRT_STORAGE
> (Mon Oct 21 03:20:07 +0400 2019)
> snapshot-VIRT_STORAGE-20191022   VIRT_STORAGE
> (Tue Oct 22 03:20:21 +0400 2019)
> snapshot-VIRT_STORAGE-20191023   VIRT_STORAGE
> (Wed Oct 23 03:20:19 +0400 2019)
> snapshot-VIRT_STORAGE-20191024   VIRT_STORAGE
> (Thu Oct 24 03:21:21 +0400 2019)
> snapshot-VIRT_STORAGE-20191025   VIRT_STORAGE
> (Fri Oct 25 03:22:06 +0400 2019)
> snapshot-VIRT_STORAGE-20191026   VIRT_STORAGE
> (Sat Oct 26 03:21:53 +0400 2019)
> snapshot-VIRT_STORAGE-20191027   VIRT_STORAGE
> (Sun Oct 27 02:22:16 +0300 2019)
> snapshot-VIRT_STORAGE-20191028   VIRT_STORAGE
> (Mon Oct 28 02:21:44 +0300 2019)
> snapshot-VIRT_STORAGE-20191029   VIRT_STORAGE
> (Tue Oct 29 02:35:41 +0300 2019)
> snapshot-VIRT_STORAGE-20191030   VIRT_STORAGE
> (Wed Oct 30 02:18:58 +0300 2019)
> snapshot-VIRT_STORAGE-20191031   VIRT_STORAGE
> (Thu Oct 31 02:16:56 +0300 2019)
> snapshot-VIRT_STORAGE-20191101   VIRT_STORAGE
> (Fri Nov 01 02:16:46 +0300 2019)
> snapshot-VIRT_STORAGE-20191102   VIRT_STORAGE
> (Sat Nov 02 02:17:05 +0300 2019)
> snapshot-VIRT_STORAGE-20191103   VIRT_STORAGE
> (Sun Nov 03 02:17:20 +0300 2019)
> snapshot-VIRT_STORAGE-20191104   VIRT_STORAGE
> (Mon Nov 04 02:17:03 +0300 2019)
>
> As a reminder: HBase-1.4.10 doesn’t has ‘snapshot_cleanup_switch’ command.
>
> Any ideas what is going wrong?

-- 
Thanks,
Viraj