-
Notifications
You must be signed in to change notification settings - Fork 341
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
failed go get -u github.com/colinmarc/hdfs due to v2? #142
Comments
What's your go version? |
chris:hdfs chris$ go version |
Consider to avoid the versioning "v2" later? Hard to understand how the versioning works and how to fix it. |
btw: this used to work fine. |
Yup - I'm really sorry for the confusion. Can you check whether you have this patch? golang/go#25139 Should be in 1.10.3. The v2 release uses the new go module thing, described best here. 1.9 and 1.10 Also, I recommend not using |
upgrading to 1.10.3 works! Thanks! This is used in a open-sourced library. "go get" is easy to pick up. |
And thanks for the quick response! |
But if you move code into vendor directory, it happend again. |
Still not working. go get github.com/colinmarc/hdfs $ go version |
It also doesn't work on
which is a pain because it's a transitive dependency and I have my hands tied. Any ideas on how to approach this? |
would you please just rename the ‘internal’ package ? |
chris:hdfs chris$ go get -u github.com/colinmarc/hdfs
package github.com/colinmarc/hdfs/v2/hadoopconf: cannot find package "github.com/colinmarc/hdfs/v2/hadoopconf" in any of:
/usr/local/go/src/github.com/colinmarc/hdfs/v2/hadoopconf (from $GOROOT)
/Users/chris/dev/gopath/src/github.com/colinmarc/hdfs/v2/hadoopconf (from $GOPATH)
package github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs: cannot find package "github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs" in any of:
/usr/local/go/src/github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs (from $GOROOT)
/Users/chris/dev/gopath/src/github.com/colinmarc/hdfs/v2/internal/protocol/hadoop_hdfs (from $GOPATH)
package github.com/colinmarc/hdfs/v2/internal/rpc: cannot find package "github.com/colinmarc/hdfs/v2/internal/rpc" in any of:
/usr/local/go/src/github.com/colinmarc/hdfs/v2/internal/rpc (from $GOROOT)
/Users/chris/dev/gopath/src/github.com/colinmarc/hdfs/v2/internal/rpc (from $GOPATH)
The text was updated successfully, but these errors were encountered: