Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-183

ZooKeeper Data Directory Cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • service/zookeeper
    • 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>
      

      Attachments

        1. WHIRR-183.patch
          1 kB
          Andrei Savu

        Activity

          People

            savu.andrei Andrei Savu
            savu.andrei Andrei Savu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: