Support Questions

Find answers, ask questions, and share your expertise

ambari cluster + zookeeper snapshot

avatar

hi all

on the zookeeper server

under /DT/var/hadoop/zookeeper/version-2

we have snapshot and logs files

-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 07:26 log.3f00061872
-rw-r--r-- 1 zookeeper hadoop 432992226 Dec 17 08:09 snapshot.3f000619fa
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 08:56 log.4000000001
-rw-r--r-- 1 zookeeper hadoop 432988134 Dec 17 09:00 snapshot.4000002660
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 11:27 log.4100000001
-rw-r--r-- 1 zookeeper hadoop 432988098 Dec 17 11:43 snapshot.4100000061
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 11:59 log.4200000001
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 12:11 log.4300000001
-rw-r--r-- 1 zookeeper hadoop 432988134 Dec 17 12:14 snapshot.4200000063
-rw-r--r-- 1 zookeeper hadoop 433050091 Dec 17 12:14 snapshot.4300000917
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 17 12:32 log.4400000001
-rw-r--r-- 1 zookeeper hadoop         2 Dec 17 12:37 acceptedEpoch
-rw-r--r-- 1 zookeeper hadoop 432988134 Dec 17 12:37 snapshot.4400000ce2
-rw-r--r-- 1 zookeeper hadoop         2 Dec 17 12:37 currentEpoch
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 18 05:54 log.4500000001
-rw-r--r-- 1 zookeeper hadoop 433770041 Dec 18 05:54 snapshot.4500010e8b
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 18 10:01 log.4500010e8c
-rw-r--r-- 1 zookeeper hadoop 434486972 Dec 18 10:01 snapshot.4500023337
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 18 23:24 log.4500023339
-rw-r--r-- 1 zookeeper hadoop 436318948 Dec 18 23:24 snapshot.450003615b
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 19 10:15 log.450003615d
-rw-r--r-- 1 zookeeper hadoop 437209673 Dec 19 10:15 snapshot.4500046ef2
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 20 02:46 log.4500046ef4
-rw-r--r-- 1 zookeeper hadoop 435689635 Dec 20 02:46 snapshot.450005a896
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 20 16:00 log.450005a898
-rw-r--r-- 1 zookeeper hadoop 438302693 Dec 20 16:00 snapshot.450006a903
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 21 11:30 log.450006a905
-rw-r--r-- 1 zookeeper hadoop 442227749 Dec 21 11:30 snapshot.4500078530
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 22 16:15 log.4500078531
-rw-r--r-- 1 zookeeper hadoop 443032988 Dec 22 16:15 snapshot.450008a5aa
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 23 07:34 log.450008a5aa
-rw-r--r-- 1 zookeeper hadoop 446656243 Dec 23 07:34 snapshot.450009b084
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 23 19:15 log.450009b086
-rw-r--r-- 1 zookeeper hadoop 449196983 Dec 23 19:15 snapshot.45000b30ed
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 24 09:42 log.45000b30ef
-rw-r--r-- 1 zookeeper hadoop 452644508 Dec 24 09:42 snapshot.45000c0d0e
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 24 15:15 log.45000c0d10
-rw-r--r-- 1 zookeeper hadoop 454791668 Dec 24 15:15 snapshot.45000d2fbc
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 24 17:17 log.45000d2fbe
-rw-r--r-- 1 zookeeper hadoop 455241614 Dec 24 17:17 snapshot.45000e711f
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 24 18:45 log.45000e711f
-rw-r--r-- 1 zookeeper hadoop 455596316 Dec 24 18:45 snapshot.45000f4461
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 24 22:15 log.45000f4463
-rw-r--r-- 1 zookeeper hadoop 456271774 Dec 24 22:15 snapshot.4500107583
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 25 02:15 log.4500107584
-rw-r--r-- 1 zookeeper hadoop 457140537 Dec 25 02:15 snapshot.450011c6b9
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 25 10:11 log.450011c6bb
-rw-r--r-- 1 zookeeper hadoop 458675622 Dec 25 10:11 snapshot.45001292dd
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 25 20:15 log.45001292df
-rw-r--r-- 1 zookeeper hadoop 460369584 Dec 25 20:15 snapshot.45001385eb
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 25 21:45 log.45001385ed
-rw-r--r-- 1 zookeeper hadoop 460718118 Dec 25 21:45 snapshot.45001465d1
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 00:01 log.45001465d3
-rw-r--r-- 1 zookeeper hadoop 461211729 Dec 26 00:01 snapshot.450015b7fe
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 02:31 log.450015b800
-rw-r--r-- 1 zookeeper hadoop 461726381 Dec 26 02:31 snapshot.450017297e
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 04:45 log.4500172980
-rw-r--r-- 1 zookeeper hadoop 462214640 Dec 26 04:45 snapshot.4500186f8c
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 06:51 log.4500186f8e
-rw-r--r-- 1 zookeeper hadoop 462658519 Dec 26 06:51 snapshot.450019a758
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 12:26 log.450019a75a
-rw-r--r-- 1 zookeeper hadoop 463569100 Dec 26 12:26 snapshot.45001ade2a
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 16:15 log.45001ade29
-rw-r--r-- 1 zookeeper hadoop 464378104 Dec 26 16:15 snapshot.45001c37df
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 17:45 log.45001c37e0
-rw-r--r-- 1 zookeeper hadoop 464741867 Dec 26 17:45 snapshot.45001d5eed
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 19:15 log.45001d5eef
-rw-r--r-- 1 zookeeper hadoop 465085452 Dec 26 19:15 snapshot.45001e87de
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 26 20:17 log.45001e87e0
-rw-r--r-- 1 zookeeper hadoop 465304233 Dec 26 20:17 snapshot.45001f7244
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 27 05:52 log.45001f7246
-rw-r--r-- 1 zookeeper hadoop 466039484 Dec 27 05:52 snapshot.450020eeef
-rw-r--r-- 1 zookeeper hadoop  67108880 Dec 27 06:09 log.450020eef1

the size for now is 23G and this cause the /DT folder to became almost full

is it posible to limit the snapshot ? or purge them ?

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Super Collaborator
1 REPLY 1

avatar
Super Collaborator