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

AdaptorId should be persistent even after an agent restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • Data Collection
    • None

    Description

      In case of agent restart, an adaptor may not get the same adaptorId.

      1)The adaptorId is sent back to the remote application after the Add command.
      Now, let suppose the agent dies and restarts.
      Each new adaptor created from the checkpoint will now have another adaptorId
      .
      If the remote application tries to stop/shutdown only using the adaptorId received in step (1), the command may be sent to the wrong adaptor.

      if the adaptorId in for example an MD5 of the command line we don't need to save any additional information inside the checkpoint.
      This will change the current API from int to String.

      Attachments

        1. CHUKWA-5.patch
          58 kB
          Ariel Shemaiah Rabkin

        Issue Links

          Activity

            People

              asrabkin Ariel Shemaiah Rabkin
              jboulon Jerome Boulon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: