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

Kubernetes contrib : waiting for cluster scale up #3089

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dav009
Copy link
Contributor

@dav009 dav009 commented Jun 28, 2021

Description

Makes sure Luigi waits for kubernetes to scale up when waiting for a job run.

Motivation and Context

Sometimes scheduling a new job results in the cluster needing to scale up.
In these scenarios current luigi throws an exception which exits the pipeline. In the meantime the cluster runs the job after scaling up.
Changes introduced in this PR makes it so that Luigi waits for Scale up to take place when waiting for a job to run.

Have you tested this? If so, how?

  • unit tests included in this PR
  • scheduling a task for my pipepelines

@dav009 dav009 marked this pull request as ready for review June 28, 2021 08:16
@dav009 dav009 requested review from dlstadther, Tarrasch and a team as code owners June 28, 2021 08:16
@dav009
Copy link
Contributor Author

dav009 commented Jun 28, 2021

@dlstadther @DataEx any hints on why the tests might be failing ? I did not touch anything related to hadoop:

FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_module
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package_submodule
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package_submodule_with_absolute_import
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package_submodule_without_imports
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package_subpackage
FAILED test/contrib/hadoop_test.py::CreatePackagesArchive::test_create_packages_archive_package_subpackage_submodule

@tnsetting
Copy link
Contributor

It was because of a python version update in github action.
From 3.8.9 to 3.8.10.
From 3.9.4 to 3.9.5.

@tnsetting
Copy link
Contributor

There is a PR #3093 for change the kube client. Maybe it can be incorporated with that PR #3093

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions.

@stale stale bot added the wontfix label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants