Chukwa
  1. Chukwa
  2. CHUKWA-506

Add retry logic to MetricDataLoader

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When processing data in Chukwa, many steps along the way, when the encounter an error condition, will attempt to reprocess the data a few times before giving up. This doesn't happen in post processing (at least when using MetricDataLoader); for example if there is a SQLException of any kind, it will move the data to the "inError" directory at which point it becomes AFAIK a manual process to move the data back to be reprocessed, so it would be nice to retry a few times in case the exception was transient (database was being bounced, or similar).

      I will attach a patch to be reviewed.

        Activity

        William Bajzek created issue -
        William Bajzek made changes -
        Field Original Value New Value
        Attachment postProcessorRetry.patch [ 12451179 ]
        Eric Yang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Eric Yang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Eric Yang [ eyang ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Eric Yang
            Reporter:
            William Bajzek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development