[JBoss JIRA] (ISPRK-26) ClassCastException with InfinispanInputDstream with cache in compatiblity mode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPRK-26?page=com.atlassian.jira.plugin.s... ]
Gustavo Fernandes updated ISPRK-26:
-----------------------------------
Fix Version/s: (was: 0.7)
> ClassCastException with InfinispanInputDstream with cache in compatiblity mode
> ------------------------------------------------------------------------------
>
> Key: ISPRK-26
> URL: https://issues.jboss.org/browse/ISPRK-26
> Project: Infinispan Spark
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 0.3
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> {noformat}
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=21 returned server error (status=0x85): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:343)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:132)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:118)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:32)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:54)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (ISPN-8921) KeyStream stream operations use entrySet on remote nodes
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8921?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8921:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: (was: 9.3.0.Final)
Resolution: Done
> KeyStream stream operations use entrySet on remote nodes
> --------------------------------------------------------
>
> Key: ISPN-8921
> URL: https://issues.jboss.org/browse/ISPN-8921
> Project: Infinispan
> Issue Type: Bug
> Components: Streams
> Affects Versions: 9.2.0.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.2.1.Final
>
>
> Currently when a remote stream operation is performed it is always done using an entrySet. This causes a lot of overhead for keySet operations - especially if there is a store! We should support key based streams for remote nodes in addition to entry set.
> There is nothing stopping this currently, all we should need is an additional argument for StreamIteratorRequestCommand to say if it is keyset or entry set. Then the LocalStreamManaterImpl and IteratorHandler need very minor tweaks. This should help operations such as size when using a store quite a bit depending on the store implementation.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years