Skip to content

Consolidate ingestion jobs to one job per source - #817

Merged
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
pyalex:one-job-per-source
Jun 24, 2020
Merged

Consolidate ingestion jobs to one job per source#817
feast-ci-bot merged 1 commit into
feast-dev:masterfrom
pyalex:one-job-per-source

Conversation

@pyalex

@pyalex pyalex commented Jun 22, 2020

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

All IngestionJobs assigned to the same physical source are now consolidated into one that writes to all sinks subscribed to this source.

Refactoring:

  • JobUpdateTask is dead
  • Job to Stores - is now m2m relationship

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


@pyalex
pyalex force-pushed the one-job-per-source branch 4 times, most recently from 7a98f56 to a3a2217 Compare June 22, 2020 14:46
@pyalex pyalex changed the title One job per source One IngestionJob per (physical) source Jun 22, 2020
@pyalex

pyalex commented Jun 22, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-batch-dataflow

@pyalex

pyalex commented Jun 22, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-batch

@woop

woop commented Jun 23, 2020

Copy link
Copy Markdown
Member

To be clear, the consolidation is to reduce the amount of simultaneous jobs.

Comment thread core/src/main/java/feast/core/job/CheckJobStatusTask.java Outdated
Comment thread core/src/main/java/feast/core/job/CreateJobTask.java Outdated
Comment thread core/src/main/java/feast/core/util/StreamUtil.java Outdated
Comment thread core/src/main/java/feast/core/service/JobCoordinatorService.java Outdated
Comment thread core/src/main/java/feast/core/job/UpgradeJobTask.java Outdated
@woop woop changed the title One IngestionJob per (physical) source Consolidate ingestion jobs to one job per physical source Jun 23, 2020
@pyalex pyalex changed the title Consolidate ingestion jobs to one job per physical source Consolidate ingestion jobs to one job per source Jun 23, 2020
Comment thread core/src/main/java/feast/core/model/Job.java Outdated
Comment thread core/src/main/java/feast/core/service/JobCoordinatorService.java Outdated
@pyalex
pyalex force-pushed the one-job-per-source branch from 731d491 to 24492d0 Compare June 23, 2020 16:50
@woop

woop commented Jun 24, 2020

Copy link
Copy Markdown
Member

/lgtm

@feast-ci-bot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pyalex, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot
feast-ci-bot merged commit 89883d4 into feast-dev:master Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants