diff --git a/go.mod b/go.mod index fdb4ddd..8ec211a 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/beltran/gohive require ( - git.apache.org/thrift.git v0.0.0-20181019115558-cd829a0b9a5c + github.com/apache/thrift v0.0.0-20181019115558-cd829a0b9a5c github.com/beltran/gosasl v0.0.0-20181023043315-01c4c2ce6a51 github.com/beltran/gssapi v0.0.0-20180807003338-598f9f3b2878 // indirect ) diff --git a/go.sum b/go.sum index 2783988..db60a93 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.apache.org/thrift.git v0.0.0-20181019115558-cd829a0b9a5c h1:9PmU5RntPkrcwpEhCkzh89R8g23jsuEw6OtY7k9wWUg= -git.apache.org/thrift.git v0.0.0-20181019115558-cd829a0b9a5c/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= +github.com/apache/thrift v0.0.0-20181019115558-cd829a0b9a5c h1:9PmU5RntPkrcwpEhCkzh89R8g23jsuEw6OtY7k9wWUg= +github.com/apache/thrift v0.0.0-20181019115558-cd829a0b9a5c/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= github.com/beltran/gosasl v0.0.0-20181023043315-01c4c2ce6a51 h1:4GvVCQFfMBsrCaTYR7E506OkKBZ/1AI+rc+oIgl2rm4= github.com/beltran/gosasl v0.0.0-20181023043315-01c4c2ce6a51/go.mod h1:4bpdWW6Q7hC2xAn+KT/ueCo1FoklhOMmEeHLhZso7po= github.com/beltran/gssapi v0.0.0-20180807003338-598f9f3b2878 h1:3xXWpeNMPRcQlbGdyfIdBHh9eD5TQgMWlZlHZ2luTwo= diff --git a/hive.go b/hive.go index 60bd521..7d5fc10 100644 --- a/hive.go +++ b/hive.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "git.apache.org/thrift.git/lib/go/thrift" + "github.com/apache/thrift/lib/go/thrift" "github.com/beltran/gohive/hiveserver" "github.com/beltran/gosasl" ) diff --git a/hiveserver/HiveServer-consts.go b/hiveserver/HiveServer-consts.go index a5f97b9..7498705 100644 --- a/hiveserver/HiveServer-consts.go +++ b/hiveserver/HiveServer-consts.go @@ -7,8 +7,9 @@ import ( "bytes" "context" "fmt" - "git.apache.org/thrift.git/lib/go/thrift" "reflect" + + "github.com/apache/thrift/lib/go/thrift" ) // (needed to ensure safety because of naive import list construction.) diff --git a/hiveserver/HiveServer.go b/hiveserver/HiveServer.go index 17b5b6e..b69602c 100644 --- a/hiveserver/HiveServer.go +++ b/hiveserver/HiveServer.go @@ -9,8 +9,9 @@ import ( "database/sql/driver" "errors" "fmt" - "git.apache.org/thrift.git/lib/go/thrift" "reflect" + + "github.com/apache/thrift/lib/go/thrift" ) // (needed to ensure safety because of naive import list construction.) diff --git a/sasl_transport.go b/sasl_transport.go index 4ecf50c..1cddfea 100644 --- a/sasl_transport.go +++ b/sasl_transport.go @@ -5,9 +5,10 @@ import ( "context" "encoding/binary" "fmt" - "git.apache.org/thrift.git/lib/go/thrift" - "github.com/beltran/gosasl" "io" + + "github.com/apache/thrift/lib/go/thrift" + "github.com/beltran/gosasl" ) const ( diff --git a/sasl_transport_test.go b/sasl_transport_test.go index f3b9633..9dabf14 100644 --- a/sasl_transport_test.go +++ b/sasl_transport_test.go @@ -2,9 +2,10 @@ package gohive import ( "context" - "git.apache.org/thrift.git/lib/go/thrift" "io" "testing" + + "github.com/apache/thrift/lib/go/thrift" ) func TestSaslTransport(t *testing.T) {