Jobservice control loop (based on #1140) - #1156
Merged
Merged
Conversation
oavdeev
requested review from
davidheryanto,
khorshuheng,
pyalex,
woop and
zhilingc
as code owners
November 11, 2020 10:58
oavdeev
force-pushed
the
jobservice-control-loop
branch
from
November 11, 2020 11:04
ecba551 to
a4a4dc4
Compare
Contributor
|
/test test-end-to-end |
Collaborator
Author
|
/kind feature |
oavdeev
force-pushed
the
jobservice-control-loop
branch
from
November 11, 2020 11:51
a4a4dc4 to
4635773
Compare
woop
reviewed
Nov 11, 2020
woop
reviewed
Nov 11, 2020
oavdeev
force-pushed
the
jobservice-control-loop
branch
3 times, most recently
from
November 11, 2020 17:37
eee144c to
c4c1ae2
Compare
Collaborator
Author
|
/test test-end-to-end-gcp |
oavdeev
force-pushed
the
jobservice-control-loop
branch
2 times, most recently
from
November 12, 2020 10:24
c4c1ae2 to
5dd2490
Compare
woop
approved these changes
Nov 13, 2020
Collaborator
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oavdeev, woop The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Collaborator
|
/lgtm |
Collaborator
|
/test test-end-to-end-aws |
Collaborator
|
/test test-end-to-end-gcp |
1 similar comment
Collaborator
Author
|
/test test-end-to-end-gcp |
oavdeev
force-pushed
the
jobservice-control-loop
branch
3 times, most recently
from
November 13, 2020 20:08
dc46656 to
fd877cf
Compare
Member
|
/retest |
2 similar comments
Member
|
/retest |
Member
|
/retest |
Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
Co-authored-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
Co-authored-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
…small fixes Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
- Move ensure_stream_ingestion_jobs to client - Move _job_to_proto to SparkJob & its subclasses (as .to_proto methods) - Remove list_jobs_by_hash from job launcher layer - Add .get_hash() to StreamIngestionJob objects, which replaces list_jobs_by_hash in a much nicer way - Add logic in dataproc launcher (completes all 3 spark modes) - Add hash to Job proto & RemoteStreamIngestionJob - Add bunch of docstrings Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
woop
force-pushed
the
jobservice-control-loop
branch
from
November 14, 2020 11:57
fd877cf to
54190e6
Compare
Member
|
/lgtm |
Collaborator
|
New changes are detected. LGTM label has been removed. |
Signed-off-by: Willem Pienaar <git@willem.co>
woop
force-pushed
the
jobservice-control-loop
branch
from
November 14, 2020 12:51
b1ecfa7 to
bf44bef
Compare
Signed-off-by: Willem Pienaar <git@willem.co>
pyalex
pushed a commit
that referenced
this pull request
Nov 24, 2020
* Implement Job Service control loop for stream ingestion jobs Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * Update sdk/python/feast/job_service.py Co-authored-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * Update sdk/python/feast/job_service.py Co-authored-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * Ensure jobservice isn't running with failed control loop; also other small fixes Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * Code restructure (see commit message details) - Move ensure_stream_ingestion_jobs to client - Move _job_to_proto to SparkJob & its subclasses (as .to_proto methods) - Remove list_jobs_by_hash from job launcher layer - Add .get_hash() to StreamIngestionJob objects, which replaces list_jobs_by_hash in a much nicer way - Add logic in dataproc launcher (completes all 3 spark modes) - Add hash to Job proto & RemoteStreamIngestionJob - Add bunch of docstrings Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * Fix super -> super() Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com> * make _job_to_proto a function Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * move ensure_stream_ingestion_jobs back out of the client Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * add tests for the job control loop Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * fix _job_to_proto Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * fix job cache state leak between tests Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * fix docker-compose test Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com> * Add retries to prevent download failure Signed-off-by: Willem Pienaar <git@willem.co> * Remove MAVEN_OPTS again Signed-off-by: Willem Pienaar <git@willem.co> Co-authored-by: Tsotne Tabidze <tsotnet@gmail.com> Co-authored-by: Willem Pienaar <git@willem.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
See #1140 for start of the discussion. Compared to that PR, this addresses some comments and adds tests for the control loop logic.
Does this PR introduce a user-facing change?: