Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3672

Remote Query test failure in case of clustered hotrod server configured with Infinispan directory_provider

    XMLWordPrintable

Details

    Description

      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:

      .addProperty("default.indexmanager", "org.infinispan.query.indexmanager.InfinispanIndexManager")
      

      then, I'm getting the following exception:

      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)
      

      Attachments

        Activity

          People

            anistor Adrian Nistor
            amanukya@redhat.com Anna Manukyan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: