Skip to content

Commit

Permalink
Replace tsuna > smartlab-br
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-fagundes committed May 12, 2022
1 parent 7796a7a commit 4d40e6c
Show file tree
Hide file tree
Showing 52 changed files with 123 additions and 120 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Golang HBase client [![Build Status](https://travis-ci.org/tsuna/gohbase.svg?branch=master)](https://travis-ci.org/tsuna/gohbase) [![codecov.io](http://codecov.io/github/tsuna/gohbase/coverage.svg?branch=master)](http://codecov.io/github/tsuna/gohbase?branch=master) [![GoDoc](https://godoc.org/github.com/tsuna/gohbase?status.png)](https://godoc.org/github.com/tsuna/gohbase)
# Golang HBase client [![Build Status](https://travis-ci.org/smartlab-br/gohbase.svg?branch=master)](https://travis-ci.org/smartlab-br/gohbase) [![codecov.io](http://codecov.io/github/smartlab-br/gohbase/coverage.svg?branch=master)](http://codecov.io/github/smartlab-br/gohbase?branch=master) [![GoDoc](https://godoc.org/github.com/smartlab-br/gohbase?status.png)](https://godoc.org/github.com/smartlab-br/gohbase)

This is a pure [Go](http://golang.org/) client for [HBase](http://hbase.org).

Expand All @@ -10,7 +10,7 @@ HBase >= 1.0

## Installation

go get github.com/tsuna/gohbase
go get github.com/smartlab-br/gohbase

## Example Usage

Expand Down
8 changes: 4 additions & 4 deletions admin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"time"

log "github.com/sirupsen/logrus"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/region"
"github.com/tsuna/gohbase/zk"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"github.com/smartlab-br/gohbase/region"
"github.com/smartlab-br/gohbase/zk"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion caches.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync"

log "github.com/sirupsen/logrus"
"github.com/tsuna/gohbase/hrpc"
"github.com/smartlab-br/gohbase/hrpc"
"modernc.org/b"
)

Expand Down
10 changes: 5 additions & 5 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"time"

log "github.com/sirupsen/logrus"
"github.com/tsuna/gohbase/compression"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/region"
"github.com/tsuna/gohbase/zk"
"github.com/smartlab-br/gohbase/compression"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"github.com/smartlab-br/gohbase/region"
"github.com/smartlab-br/gohbase/zk"
"google.golang.org/protobuf/proto"
"modernc.org/b"
)
Expand Down
2 changes: 1 addition & 1 deletion compression/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package compression

import (
"github.com/tsuna/gohbase/compression/snappy"
"github.com/smartlab-br/gohbase/compression/snappy"
)

// Codec is used to encode and decode chunks of hadoop's sequence file chunks.
Expand Down
6 changes: 3 additions & 3 deletions compression/snappy/snappy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"testing"
"unsafe"

"github.com/tsuna/gohbase/compression"
"github.com/tsuna/gohbase/compression/snappy"
"github.com/tsuna/gohbase/test"
"github.com/smartlab-br/gohbase/compression"
"github.com/smartlab-br/gohbase/compression/snappy"
"github.com/smartlab-br/gohbase/test"
)

func TestEncode(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"bytes"
"testing"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/region"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/region"
)

func TestRegionDiscovery(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion filter/comparator.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package filter
import (
"errors"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion filter/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package filter
import (
"errors"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"fmt"
"unsafe"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/call_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"testing"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions hrpc/checkandput.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package hrpc
import (
"fmt"

"github.com/tsuna/gohbase/filter"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/filter"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/disable.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
6 changes: 3 additions & 3 deletions hrpc/hrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"testing"
"time"

"github.com/tsuna/gohbase/filter"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/test"
"github.com/smartlab-br/gohbase/filter"
"github.com/smartlab-br/gohbase/pb"
"github.com/smartlab-br/gohbase/test"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"errors"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/mutate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"math"
"time"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/procedure.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions hrpc/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"math"
"time"

"github.com/tsuna/gohbase/filter"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/filter"
"github.com/smartlab-br/gohbase/pb"
)

// baseQuery bundles common fields that can be provided for quering requests: Scans and Gets
Expand Down
4 changes: 2 additions & 2 deletions hrpc/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"testing"
"time"

"github.com/tsuna/gohbase/filter"
"github.com/tsuna/gohbase/test"
"github.com/smartlab-br/gohbase/filter"
"github.com/smartlab-br/gohbase/test"
)

func TestFamilesOption(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion hrpc/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"math"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"context"
"errors"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
2 changes: 1 addition & 1 deletion hrpc/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hrpc
import (
"context"

"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
9 changes: 5 additions & 4 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by the Apache License 2.0
// that can be found in the COPYING file.

//go:build integration
// +build integration

package gohbase_test
Expand All @@ -25,10 +26,10 @@ import (
"math"

log "github.com/sirupsen/logrus"
"github.com/tsuna/gohbase"
"github.com/tsuna/gohbase/filter"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase"
"github.com/smartlab-br/gohbase/filter"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
6 changes: 3 additions & 3 deletions metacache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"testing"

"github.com/golang/mock/gomock"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/region"
mockRegion "github.com/tsuna/gohbase/test/mock/region"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/region"
mockRegion "github.com/smartlab-br/gohbase/test/mock/region"
)

func TestMetaCache(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions mockrc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"sync/atomic"
"time"

"github.com/tsuna/gohbase/compression"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/region"
"github.com/smartlab-br/gohbase/compression"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"github.com/smartlab-br/gohbase/region"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions region/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (

log "github.com/sirupsen/logrus"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/runtime/protoimpl"
Expand Down
8 changes: 4 additions & 4 deletions region/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"time"

"github.com/golang/mock/gomock"
"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/tsuna/gohbase/test"
"github.com/tsuna/gohbase/test/mock"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"github.com/smartlab-br/gohbase/test"
"github.com/smartlab-br/gohbase/test/mock"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"
)
Expand Down
2 changes: 1 addition & 1 deletion region/compressor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"io"
"net"

"github.com/tsuna/gohbase/compression"
"github.com/smartlab-br/gohbase/compression"
)

type compressor struct {
Expand Down
2 changes: 1 addition & 1 deletion region/compressor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strconv"
"testing"

"github.com/tsuna/gohbase/test"
"github.com/smartlab-br/gohbase/test"
)

// mockCodec just takes the the source and appends it to destination
Expand Down
4 changes: 2 additions & 2 deletions region/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"fmt"
"sync"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions region/info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"testing"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions region/multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"sync"

"github.com/tsuna/gohbase/hrpc"
"github.com/tsuna/gohbase/pb"
"github.com/smartlab-br/gohbase/hrpc"
"github.com/smartlab-br/gohbase/pb"
"google.golang.org/protobuf/proto"
)

Expand Down
Loading

0 comments on commit 4d40e6c

Please sign in to comment.