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

Preventing task-shuffle after task mode addition

    XMLWordPrintableJSON

Details

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

    Description

      After adding task-mode, the first re-deployment of an existing job will not have any existing task-modes to read from the coordinator stream. Due to this the existing task-container mapping of the job does not get read. 
      In this case, the grouper will re-assign the tasks to containers in lexicographic order, whereas the previous task-container mapping may have been different than this (based on how the job changed over time – because on topic addition a grouper tries to be as close to existing task-grouping as possible). 

      Due to this regrouping, task-container mapping will shuffle, causing some containers to get new tasks, who's store need seeding from Kafka on deployment. This can increase job re-deployment time for the first re-deploy. 

      Note that, after the first re-deploy the behavior becomes stable as before.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rayman7718 Rayman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m