Whirr
  1. Whirr
  2. WHIRR-183

ZooKeeper Data Directory Cleanup

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: service/zookeeper
    • Labels:
      None

      Description

      "A ZooKeeper server will not remove old snapshots and log files, this is the responsibility of the operator."

      [1] http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperAdmin.html#sc_maintenance

      The install script should also add a cron task as suggested:

      java -cp zookeeper.jar:log4j.jar:conf org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count>
      

        Activity

          People

          • Assignee:
            Andrei Savu
            Reporter:
            Andrei Savu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development