Chukwa
  1. Chukwa
  2. CHUKWA-91

Checkpoint contains offset != 0 even if there's no collector

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None

      Description

      Checkpoint files are used to recover from a crash/stop so the offset for a file should be the last offset that has been acknowledged by the sender.
      This is not the case.

        Activity

        Hide
        Ari Rabkin added a comment -

        This is really a bug, not a design problem. Can you specify the conditions when it happens?

        Show
        Ari Rabkin added a comment - This is really a bug, not a design problem. Can you specify the conditions when it happens?
        Hide
        Ari Rabkin added a comment -

        I can't confirm this bug. Here's a test case to help keep an eye on it.

        Show
        Ari Rabkin added a comment - I can't confirm this bug. Here's a test case to help keep an eye on it.
        Hide
        Ari Rabkin added a comment -

        filename is wrong, but that's probably okay. It won't collide with anything.

        Show
        Ari Rabkin added a comment - filename is wrong, but that's probably okay. It won't collide with anything.
        Hide
        Eric Yang added a comment -

        +1 on the test patch for sanity check.

        Show
        Eric Yang added a comment - +1 on the test patch for sanity check.
        Hide
        Cheng added a comment -

        I did some tests. When no collector is running, the offset will not change.

        Show
        Cheng added a comment - I did some tests. When no collector is running, the offset will not change.
        Hide
        Ari Rabkin added a comment -

        Also committed that test case....sort of late.

        Show
        Ari Rabkin added a comment - Also committed that test case....sort of late.
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Chukwa-trunk #8 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/8/ )
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )

          People

          • Assignee:
            Ari Rabkin
            Reporter:
            Jerome Boulon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development