Weiwei Yang created YUNIKORN-374:
------------------------------------
Summary: Use compatible GRPC version in scheduler-interface
Key: YUNIKORN-374
URL: https://issues.apache.org/jira/browse/YUNIKORN-374
Project: Apache YuniKorn
Issue Type: Sub-task
Components: scheduler-interface
Reporter: Weiwei Yang
Assignee: Weiwei Yang
Current grpc version used in scheduler-interface seems too high, which is not
compatible with coreos etcd v3.3.17:
{code}
go build -o=_output/bin/k8s_yunikorn_scheduler -race -ldflags \
'-X main.version=latest -X main.date=2020-08-13T15:59:39-0700' \
./pkg/shim/
# github.com/coreos/etcd/clientv3/balancer/picker
../../../../go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/picker/err.go:37:44:
undefined: balancer.PickOptions
../../../../go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/picker/roundrobin_balanced.go:55:54:
undefined: balancer.PickOptions
# github.com/coreos/etcd/clientv3/balancer/resolver/endpoint
../../../../go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:114:78:
undefined: resolver.BuildOption
../../../../go/pkg/mod/github.com/coreos/[email protected]+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:182:31:
undefined: resolver.ResolveNowOption
# k8s.io/component-base/metrics/legacyregistry
{code}
K8s 1.16 is using:
{code}
k8s.io/[email protected] google.golang.org/[email protected]
k8s.io/[email protected] google.golang.org/[email protected]
k8s.io/[email protected]
github.com/tmc/[email protected]
k8s.io/[email protected] github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected] github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected]
github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected] google.golang.org/[email protected]
k8s.io/[email protected]
github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected] github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected] github.com/grpc-ecosystem/[email protected]
k8s.io/[email protected]
github.com/tmc/[email protected]
k8s.io/[email protected] google.golang.org/[email protected]
k8s.io/[email protected] google.golang.org/[email protected]
{code}
I think we should use v1.23.0 as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]