[ 
https://issues.apache.org/jira/browse/KUDU-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Serbin updated KUDU-2348:
--------------------------------
    Code Review: https://gerrit.cloudera.org/#/c/12158/

> Java client doesn't pick a random replica when no replica is local
> ------------------------------------------------------------------
>
>                 Key: KUDU-2348
>                 URL: https://issues.apache.org/jira/browse/KUDU-2348
>             Project: Kudu
>          Issue Type: Improvement
>          Components: client, java
>    Affects Versions: 1.7.0
>            Reporter: Todd Lipcon
>            Assignee: YifanZhang
>            Priority: Major
>              Labels: newbie
>             Fix For: 1.11.0
>
>
> In RemoteTablet we have this comment:
> {code}
>    * Get the information on the closest server. If none is closer than the 
> others,
>    * return the information on a randomly picked server.
> {code}
> However it appears that the "random" replica is deterministic - it's always 
> the last replica in hashmap iteration order, which is likely to be the same 
> order across all clients in the cluster. That would cause load to be 
> concentrated on one replica rather than spread even if the clients are 
> meaning to spread the load.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to