You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2021/02/03 02:45:00 UTC

[jira] [Resolved] (YUNIKORN-535) Go mod file cleanup

     [ https://issues.apache.org/jira/browse/YUNIKORN-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg resolved YUNIKORN-535.
--------------------------------------------
    Fix Version/s: 0.10
         Assignee: Weiwei Yang
       Resolution: Fixed

The hdrhistogram was moved causing the jaeger dependencies to not resolve correctly using go 1.12. See https://github.com/HdrHistogram/hdrhistogram-go#repo-transfer-and-impact-on-go-dependencies

The mod change points to a later version which is also used in jaeger.

> Go mod file cleanup
> -------------------
>
>                 Key: YUNIKORN-535
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-535
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: build, core - scheduler
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10
>
>
> clean up the go mod cache, and re-run the build, got the following error:
> go: finding module for package github.com/codahale/hdrhistogram
> go: found github.com/codahale/hdrhistogram in github.com/codahale/hdrhistogram v1.0.1
> go: github.com/apache/incubator-yunikorn-k8shim/pkg/shim imports
> 	github.com/apache/incubator-yunikorn-core/pkg/entrypoint imports
> 	github.com/apache/incubator-yunikorn-core/pkg/scheduler imports
> 	github.com/apache/incubator-yunikorn-core/pkg/trace imports
> 	github.com/uber/jaeger-client-go tested by
> 	github.com/uber/jaeger-client-go.test imports
> 	github.com/uber/jaeger-lib/metrics/metricstest imports
> 	github.com/HdrHistogram/hdrhistogram-go tested by
> 	github.com/HdrHistogram/hdrhistogram-go.test imports
> 	github.com/codahale/hdrhistogram: github.com/codahale/hdrhistogram@v1.0.1: parsing go.mod:
> 	module declares its path as: github.com/HdrHistogram/hdrhistogram-go
> 	        but was required as: github.com/codahale/hdrhistogram
> We need to cleanup the dependencies and make sure the build can run successfully on a branch new machine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org