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

Processors should only write their own task locality to zookeeper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.7
    • None
    • None

    Description

      Problem:
      Processors update the task locality for all the tasks in the job model with their own locality regardless of whether the tasks belong to their container model or not.

      Description:
      As part of SEP 11, host affinity for standalone was introduced. For this feature, we persist the task locality in zookeeper so that subsequent rebalances take this locality into account when generating job model.

      During job model consensus, we update the task locality for all the tasks and this results in incorrect locality depending on the order of writes.

      Solution:
      Only update the locality for the tasks that belong to the processor.

      Attachments

        Activity

          People

            bharathkk Bharath Kumarasubramanian
            bharathkk Bharath Kumarasubramanian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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