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

        Hide
        Tom White added a comment -

        Good idea. It would also be nice to have some long-running soak tests to test long-lived clusters, but that's another issue.

        Show
        Tom White added a comment - Good idea. It would also be nice to have some long-running soak tests to test long-lived clusters, but that's another issue.
        Hide
        Andrei Savu added a comment -

        tested on a local virtual machine.

        Show
        Andrei Savu added a comment - tested on a local virtual machine.
        Hide
        Andrei Savu added a comment -

        I have tested this on EC2. The cron task is added as expected and it works.

        Show
        Andrei Savu added a comment - I have tested this on EC2. The cron task is added as expected and it works.
        Hide
        Tom White added a comment -

        +1

        Show
        Tom White added a comment - +1
        Hide
        Andrei Savu added a comment -

        Tom, I can't commit this because the S3 script bucket needs to be updated.

        Show
        Andrei Savu added a comment - Tom, I can't commit this because the S3 script bucket needs to be updated.
        Hide
        Tom White added a comment -

        I've just committed this and updated the bucket. Thanks Andrei!

        Show
        Tom White added a comment - I've just committed this and updated the bucket. Thanks Andrei!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development