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

controller should not create duplicates for adaptors with offsets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.0, 0.3.0
    • Input Tools
    • None
    • Incompatible change, Reviewed
    • 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
          Ariel Shemaiah Rabkin
        2. CHUKWA-330-big.patch
          26 kB
          Ariel Shemaiah Rabkin
        3. CHUKWA-330-big-1.patch
          31 kB
          Ariel Shemaiah Rabkin
        4. testsForTrunk.patch
          5 kB
          Ariel Shemaiah Rabkin

        Issue Links

          Activity

            People

              asrabkin Ariel Shemaiah Rabkin
              asrabkin Ariel Shemaiah 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