Hello Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20715

to look at the new patch set (#7).

Change subject: KUDU-3526 [java] Scanner should bound with a tserver in java 
client.
......................................................................

KUDU-3526 [java] Scanner should bound with a tserver in java client.

For now, scan requests sent by java client might fail with scanner
not found error. It is because that scanner does not bound with the
tserver which it first communicates with.

The code in method scanNextRows of java client is still trying to
search for the tserver by the locations and selection policy. So if
the leader is changed and the next scan request is sent to the new
leader, the tserver will response with the "scanner not found"
exception.

We should make the scanner bound with the tserver, like how it does
in c++ client.

Change-Id: I9cf65f4215e99198dd41b43d14e50c8c23b8a9b2
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduScanner.java
M java/kudu-client/src/main/java/org/apache/kudu/client/RemoteTablet.java
3 files changed, 23 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/20715/7
--
To view, visit http://gerrit.cloudera.org:8080/20715
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9cf65f4215e99198dd41b43d14e50c8c23b8a9b2
Gerrit-Change-Number: 20715
Gerrit-PatchSet: 7
Gerrit-Owner: Song Jiacheng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to