Todd Lipcon created KUDU-2348:
---------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to