Jean-Daniel Cryans has submitted this change and it was merged.

Change subject: [java client] fix ClassCastException: DeferredGroupException 
cannot be cast to ArrayList
......................................................................


[java client] fix ClassCastException: DeferredGroupException cannot be cast to 
ArrayList

For some reason the shutdown method was terminating with a addBothDeferring,
which is wrong because we specifically say in the javadoc that errors will
come back via the errback. This is fixed and a comment was added.

Testing this would require many contortions at the moment.

Change-Id: I1f3d084fae276c5dbbb46f36c43ad0d337f260a8
Reviewed-on: http://gerrit.cloudera.org:8080/3020
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M java/kudu-client/src/main/java/org/kududb/client/AsyncKuduClient.java
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/3020
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1f3d084fae276c5dbbb46f36c43ad0d337f260a8
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Jean-Daniel Cryans
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to