[infinispan-issues] [JBoss JIRA] (ISPN-3672) Remote Query test failure in case of clustered hotrod server configured with Infinispan directory_provider

Adrian Nistor (JIRA) issues at jboss.org
Thu Jul 24 07:29:30 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987642#comment-12987642 ] 

Adrian Nistor commented on ISPN-3672:
-------------------------------------

This has not failed in CI in the last 6 months, so I'll move this test from 'unstable' to 'functional' suite.

> 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
>      Security Level: Public(Everyone can see) 
>          Components: Embedded Querying
>            Reporter: Anna Manukyan
>            Assignee: Adrian Nistor
>             Fix For: 7.0.0.Final
>
>         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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list