You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Jean-Daniel Cryans (Code Review)" <ge...@cloudera.org> on 2016/05/10 23:10:43 UTC

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

Jean-Daniel Cryans has uploaded a new change for review.

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

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
---
M java/kudu-client/src/main/java/org/kududb/client/AsyncKuduClient.java
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/3020/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3020
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f3d084fae276c5dbbb46f36c43ad0d337f260a8
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Jean-Daniel Cryans