Closed Sen-Gupta closed 5 days ago
It looks like you are using an old version of Go. The (*tls.Conn).HandshakeContext
method the compiler complains about is only available in Go 1.17. The gocql driver used in scylla-bench only supports the last two major Go releases (1.18 and 1.19). Please try updating your Go version and see if it helps.
using the supported go versions does work
We were trying to benchmark scyalla on AWS AMI Image as recommended.
We followed the steps to install but we could not build.
root@~# cd scylla-bench/ root@:~/scylla-bench# go install . go: downloading github.com/scylladb/gocql v1.7.2 go: downloading github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed go: downloading github.com/pkg/errors v0.8.1 go: downloading github.com/HdrHistogram/hdrhistogram-go v1.1.2 go: downloading github.com/golang/snappy v0.0.3 go: downloading gopkg.in/inf.v0 v0.9.1 github.com/gocql/gocql ../go/pkg/mod/github.com/scylladb/gocql@v1.7.2/dial.go:79:18: tconn.HandshakeContext undefined (type *tls.Conn has no field or method HandshakeContext)* root@~/scylla-bench# cylla-bench -workload sequential -mode write -nodes 127.0.0.1 cylla-bench: command not found root@:~/scylla-bench# scylla-bench -workload sequential -mode write -nodes 127.0.0.1 scylla-bench: command not found root@~/scylla-bench# scylla-bench scylla-bench: command not found root@~/scylla-bench# scylla-bench scylla-bench: command not found root@~/scylla-bench# go install . github.com/gocql/gocql ../go/pkg/mod/github.com/scylladb/gocql@v1.7.2/dial.go:79:18: tconn.HandshakeContext undefined (type tls.Conn has no field or method HandshakeContext)