Grant Henke has posted comments on this change. ( )

Change subject: KUDU-2674: [java] Add a Java KuduPartitioner API

Patch Set 6:

File java/kudu-client/src/main/java/org/apache/kudu/client/
PS6, Line 1825: propogte
> propagate
PS6, Line 2163:    * @param table the table
> Update this list.
PS6, Line 2212:                 if (lookupType == LookupType.POINT || 
entry.getUpperBoundPartitionKey().length == 0) {
> Too long; wrap?
PS6, Line 178:     // Ensure the table information can't be found to force a 
             :     harness.killAllMasterServers();
> Hmm, surprised the partitioner use below doesn't hit the table locations ca
client.createTable doesn't populate the cache with all the partition 
information. I will add a test that proves the cache is being used.
PS6, Line 182:     long now = System.currentTimeMillis();
> Nit: probably more useful as 'start'.
PS6, Line 192:     assertTrue(elapsed <= timeoutMs);
> Why would this hold? Seems potentially flaky. How about < timeoutMs * 2 or
I haven't seen flakiness. I can add a small amount of time but I don't want to 
double the timeout since that isn't representative of validating the timeout.

To view, visit
To unsubscribe, visit

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7a2d47aab5318c0b6d29a8cb2b073c05bc1b6478
Gerrit-Change-Number: 12275
Gerrit-PatchSet: 6
Gerrit-Owner: Grant Henke <>
Gerrit-Reviewer: Adar Dembo <>
Gerrit-Reviewer: Grant Henke <>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <>
Gerrit-Reviewer: Todd Lipcon <>
Gerrit-Reviewer: Will Berkeley <>
Gerrit-Comment-Date: Wed, 13 Feb 2019 16:17:52 +0000
Gerrit-HasComments: Yes

Reply via email to