We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gohbase连接客户端代码: var client = gohbase.NewClient(host)
thrift编译hbase连接hbase集群代码:const ( HOST1 = "172.16.3.127" PORT1 = "19090" )
func TestHbase1(t *testing.T){ protocolFactory := thrift.NewTBinaryProtocolFactoryDefault() transport, err := thrift.NewTSocket(net.JoinHostPort(HOST1, PORT1)) if err != nil { fmt.Fprintln(os.Stderr, "error resolving address:", err) os.Exit(1) } }
gohbase连接客户端时候为什么只传入url,没有端口号,我通过另一种方式 用thrift编译hbase,连接我们公司另一个团队开发的hyperbase,传入url和19090可以连接集群成功,但是thrift服务默认是9090,gohbase没有传入参数的地方,这个怎么传入修改端口号
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gohbase连接客户端代码: var client = gohbase.NewClient(host)
thrift编译hbase连接hbase集群代码:const (
HOST1 = "172.16.3.127"
PORT1 = "19090"
)
func TestHbase1(t *testing.T){
protocolFactory := thrift.NewTBinaryProtocolFactoryDefault()
transport, err := thrift.NewTSocket(net.JoinHostPort(HOST1, PORT1))
if err != nil {
fmt.Fprintln(os.Stderr, "error resolving address:", err)
os.Exit(1)
}
}
gohbase连接客户端时候为什么只传入url,没有端口号,我通过另一种方式 用thrift编译hbase,连接我们公司另一个团队开发的hyperbase,传入url和19090可以连接集群成功,但是thrift服务默认是9090,gohbase没有传入参数的地方,这个怎么传入修改端口号
The text was updated successfully, but these errors were encountered: