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

[YUNIKORN-815] Fix scheduler interface makefile issues #51

Merged
merged 5 commits into from Aug 25, 2021
Merged

[YUNIKORN-815] Fix scheduler interface makefile issues #51

merged 5 commits into from Aug 25, 2021

Conversation

yangwwei
Copy link
Contributor

What is this PR for?

Downgrade gRPC version, because the shim repo depends on K8s 1.16, the etcd is not
compatible with gRPC 1.32, see: etcd-io/etcd#12124. As a
result, we are stick to gRPC 1.26.0 for now, unless the etcd updated to a version
that is compatible with the newer gRPC versions. Accordingly, we need to use the plugin
"--go_out=plugins=grpc" option to generate the gRPC code, otherwise it will generate
some annotations that is not compatible with gRPC 1.26.0.

What type of PR is it?

  • - Bug Fix
  • - Improvement
  • - Feature
  • - Documentation
  • - Hot Fix
  • - Refactoring

Todos

  • - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-815

How should this be tested?

Screenshots (if appropriate)

Questions:

  • - The licenses files need update.
  • - There is breaking changes for older versions.
  • - It needs documentation.

Downgrade gRPC version, because the shim repo depends on K8s 1.16, the etcd is not
compatible with gRPC 1.32, see: etcd-io/etcd#12124. As a
result, we are stick to gRPC 1.26.0 for now, unless the etcd updated to a version
that is compatible with the newer gRPC versions. Accordingly, we need to use the plugin
"--go_out=plugins=grpc" option to generate the gRPC code, otherwise it will generate
some annotations that is not compatible with gRPC 1.26.0.
Copy link
Contributor

@HuangTing-Yao HuangTing-Yao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HuangTing-Yao HuangTing-Yao merged commit 88f21e4 into apache:master Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants