Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1340

StreamProcessor does not propagate container failures from StreamTask

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.1
    • 0.13.1
    • None
    • None

    Description

      Based on cpettitt's observation:

      I'm on Samza's master branch. If my task throws from one of its operators I get back a success state from the LocalApplicationRunner.

      The root cause appears to be in SamzaContainerListener#onContainerFailed in StreamProcessor. There we call a regular stop and have not recorded anywhere that an exception was raised. Consequently onCoordinatorStop is invoked and the processorListener gets its onShutdown callback called instead of onFailure via onCoordinatorFailure.

      Attachments

        Issue Links

          Activity

            People

              navina Navina Ramesh
              navina Navina Ramesh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: