Uploaded image for project: 'Apache Helix'
  1. Apache Helix
  2. HELIX-738

[TASK] Remove quotaType APIs and make jobs inherit type from workflows

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      For quota-based task scheduling, for each job, we provided get/setQuotaType APIs. However, the use case for workflow types and job types were similar enough that we decided to merge them and begin using workflow/job types for quota-based scheduling. Job types will now be used as quota types, and all jobs will inherit the type, if set, from their parent workflow, at assignment and schedule time.

      Changelist:
      1. Remove APIs around quotaType in Workflow/JobConfig
      2. Add an internal method in TaskAssignmentCalculator that includes logic for determining which quota type each job should use
      3. Adjust tests so that they test and pass successfully

      Attachments

        Activity

          People

            Unassigned Unassigned
            narendly Hunter L
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: