Hi, Rob

   Which helix version do you use?  It seems there is a regression in our
latest version, we will fix it asap.  For now, you can workaround this bug
by changing your code as follows, please give it a try and see if it works,
thanks.

manager = HelixManagerFactory.getZKHelixManager(clusterName, instanceName,
            InstanceType.SPECTATOR, zkAddr);
    zkAddress = zkAddr;
    helixClusterName = clusterName;

        manager.connect();*        routingTableProvider **= new
RoutingTableProvider(); ==> routingTableProvider = new
RoutingTableProvider(manager);*

        manager.addExternalViewChangeListener(routingTableProvider);



Thanks
Lei

On Tue, Oct 2, 2018 at 5:51 AM Rob McKinnon <[email protected]> wrote:

> Lets say that I have a cluster of 5 nodes with 10 partitions and I have an
> http request that needs to get data from a specific partition. What is the
> pattern to make sure requests are routed to the correct node, in this case
> a node that is the master of that particular partition?
>
> Regards,
>
> Rob
>


-- 
Lei Xia

Reply via email to