Jean-Daniel Cryans has posted comments on this change. Change subject: [java client] Refactor all server info into a single class, add locality ......................................................................
Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/4836/4/java/kudu-client/src/main/java/org/apache/kudu/client/RemoteTablet.java File java/kudu-client/src/main/java/org/apache/kudu/client/RemoteTablet.java: Line 163: return lastUuid; > It's what the contract specifies, so either you need to change the javadoc > Keep in mind this could (and probably does) return the same replica when > called on different clients/JVMs. It doesn't, as I commented on a previous revision of this patch. I'd rather change the javadoc to say that the returned UUID is figured in a non-deterministic way. The other problem is that the java client doesn't "pin" scans to servers, so if we truly get a random one each time then successive Scan calls (for next rows) will fail due to getting a different server each time. -- To view, visit http://gerrit.cloudera.org:8080/4836 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I33984a437d8c8d07d5db4d16f8da723b3e904189 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Jean-Daniel Cryans <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-HasComments: Yes
