Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-330

controller should not create duplicates for adaptors with offsets

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0, 0.3.0
    • Component/s: Input Tools
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      For 0.2:

      Modified AgentController to add adaptor by name for uniquely identify stream.

      For 0.3:

      Make separation between fixed adaptor parameters and optional adaptor parameters for generating adaptor id.
      Show
      For 0.2: Modified AgentController to add adaptor by name for uniquely identify stream. For 0.3: Make separation between fixed adaptor parameters and optional adaptor parameters for generating adaptor id.

      Description

      The offset-of-first-byte param to FileTailingAdaptor is hashed into the default adaptor name. This changes the semantics of adaptor uniqueness, and broke metrics and the log4jappender.

      Proposed fix:
      Add a new "addByName()" method to ChukwaAgentController that lets callers specify names.
      Use this new method whenever finer control of adaptor uniqueness is needed.

        Attachments

        1. CHUKWA-330.patch
          8 kB
          Ari Rabkin
        2. CHUKWA-330-big.patch
          26 kB
          Ari Rabkin
        3. CHUKWA-330-big-1.patch
          31 kB
          Ari Rabkin
        4. testsForTrunk.patch
          5 kB
          Ari Rabkin

          Issue Links

            Activity

              People

              • Assignee:
                asrabkin Ari Rabkin
                Reporter:
                asrabkin Ari Rabkin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1.5h
                  1.5h
                  Remaining:
                  Remaining Estimate - 1.5h
                  1.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified