]
RH Bugzilla Integration commented on ISPN-3672:
-----------------------------------------------
Anna Manukyan <amanukya(a)redhat.com> made a comment on [bug
Remote Query test failure in case of clustered hotrod server
configured with Infinispan directory_provider
----------------------------------------------------------------------------------------------------------
Key: ISPN-3672
URL:
https://issues.jboss.org/browse/ISPN-3672
Project: Infinispan
Issue Type: Bug
Components: Querying
Reporter: Anna Manukyan
Assignee: Sanne Grinovero
Attachments: MultiHotRodServerIspnDirQueryTest.java,
MultiHotRodServerIspnDirReplQueryTest.java, MultiHotRodServerQueryTest.java
I've added new tests, where the cache configuration is following:
2 clustered HotRod Servers configured with indexing enabled caches and using Infinispan
as a directory_provider.
When the test is putting some data into the caches and then perform query on it, the
query doesn't return any results. Even sometimes when getting the entry using key from
the first cache, the entry is null.
The failing tests are MultiHotRodServerIspnDirReplQueryTest and
MultiHotRodServerIspnDirQueryTest which are extended from MultiHotRodServerQueryTest.
In the first case the ISPN directory related caches are replicated, in the second case
the caches are local.
You can find the test attached.
Also, if I'm trying to add the following line to the cache configuration:
{code}
.addProperty("default.indexmanager",
"org.infinispan.query.indexmanager.InfinispanIndexManager")
{code}
then, I'm getting the following exception:
{code}
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[2]
returned server error (status=0x85): org.infinispan.commons.CacheException:
java.lang.NoSuchMethodError: org.apache.avro.io.BinaryEncoder: method <init>()V not
found
at
org.infinispan.client.hotrod.impl.protocol.Codec10.checkForErrorsInResponseStatus(Codec10.java:143)
at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:99)
at
org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
at
org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:50)
at
org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:30)
at
org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:19)
at
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:46)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:213)
at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:79)
at
org.infinispan.client.hotrod.query.MultiHotRodServerQueryTest.testAttributeQuery(MultiHotRodServerQueryTest.java:68)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: