Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate jobs #279

Merged
merged 15 commits into from
Oct 30, 2019
Merged

Conversation

zhilingc
Copy link
Collaborator

This PR is to address the issue of running many jobs and introducing a lot of unnecessary overhead, particularly since we don't have a jobs API.

Changes made:

  • Map jobs source::sink instead of fs::sink.
  • Provision a single topic by default, majority of features will be populated by the same jobs.
  • Allow users to specify topics instead of always provisioning the topics.

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhilingc

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

The pull request process is described here

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

@zhilingc zhilingc requested review from davidheryanto and woop and removed request for tims and pradithya October 29, 2019 07:59
@zhilingc
Copy link
Collaborator Author

/retest

zhilingc and others added 9 commits October 30, 2019 15:41
* Update prow config and test script so it works for Feast 0.3

* Update CI test script for golang to use correct path

* Set pipefail option so test exit code is correct
For those commands that pipe the test output

* Update group id and version grpc-spring-boot-starter dependency
- Newer version is hosted on Maven central which is more maintained than other repo

* Add JVM heap settings for Maven surefire
Otherwise it fails to run some tests due to insufficient memory

* Fix potential setup/teardown error when running ImportJobTest
- Set project to empty (DataflowOptions in Beam require project to be not null)
- Ignore error when shutting down Kafka server during tear down. This should not affect test result.

* Update remote URI to download cached Maven packages
- This tar archive contains packages used by Feast 0.3 rather than previous version of Feast

* Fix path to logs artifacts

* Update maven enforcer rule for Maven and JDK versions
- Allow more ranges of versions as long as they are not breaking changes

* Use batch mode when initializing Maven for cleaner build log

* Skip maven enforcer when running test for specific project

* Fix incorrect order for java-sdk test script

* Install database and kafka dependencies for Feast end to end test

* Update Python SDK to not set source in FeatureSet when using default source
Update in progress script for integration test: TODO.sh

* Fix Python SDK type mapping
- float64 should map to ValueType.DOUBLE instead of ValueType.FLOAT
- Ensure Python SDK installation use protobuf v3.10 from pypi. Earlier version of protobuf do not support accessing Enum value in Proto object directly.
- Ensure version is passed as INT in e2e test. Set default allow_dirty to true so it's easier to debug error when running e2e test locally.

* Refactor prow scripts such that every test is defined in a separate script
- Since there are only 6 tests, there is not much benefit of combining tests into a single script
  Having each test defined on diff script file makes debugging easier

* Remove reference to actual project id

* Log current stage in end to end test script
- Update test case DirectRunnerJobManagerTest.shouldStartDirectJobAndRegisterPipelineResult to set project option to empty string for DirectRunner
- Update /usr/sbin/policy-rc.d used in Maven Docker image, so Redis installation will succeed

* Fix missing option to specify miniconda download target
- Also use cached maven packages when running e2e test

* Fix incorrect path to installing Python SDK

* Add small wait after ingestion, before validating the saved features, in feast e2e test

* Increase wait time before checking, after applying feature set

* Make log cleaner
@zhilingc
Copy link
Collaborator Author

/retest

@feast-dev feast-dev deleted a comment from feast-ci-bot Oct 30, 2019
@davidheryanto
Copy link
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit afc4308 into feast-dev:0.3-dev Oct 30, 2019
@zhilingc zhilingc mentioned this pull request Nov 4, 2019
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