You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first call is for gateway deployments (agnostic of OS), the second by default for vnet load balancing on Windows clusters.
For linux clusters and VNET you would need to pass a load balancer in the third constructor with the right hostnames created. Despite not beeing able to instantiate a retry factory (see #43), this is quite inconsistent (why are the credentials needed?) and not nice for a user to setup.
Let's add a builder that creates a new HBaseClient:
var client = HBaseClientBuilder
.New()
.OnLinux()
.OnVNet(numNodes: 32, loadBalancer: new LoadBalancerRoundRobin())
.WithRetryPolicy(new ExponentialRetryPolicy(...))
.Create();
Which will configure 32 nodes on linux with a vnet and RR balancing.
Right now the API exposes the following constructors for the client:
The first call is for gateway deployments (agnostic of OS), the second by default for vnet load balancing on Windows clusters.
For linux clusters and VNET you would need to pass a load balancer in the third constructor with the right hostnames created. Despite not beeing able to instantiate a retry factory (see #43), this is quite inconsistent (why are the credentials needed?) and not nice for a user to setup.
Let's add a builder that creates a new
HBaseClient
:Which will configure 32 nodes on linux with a vnet and RR balancing.
For the gateway case:
We also need to refactor all the stuff in between, it has become a big mess with url strings getting passed around and no real structure.
The text was updated successfully, but these errors were encountered: