Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1374

Error org.apache.ignite.IgniteCheckedException: Failed to send response to node. Unsupported direct type during a cache iteration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cache
    • Labels:

      Description

      Using ignite 1.3.0-incubating I get this error while issuing an iteration on a cache

       Set<String> keys = new HashSet<>();
              for (Iterator<Cache.Entry<String, Object>> it = cache.iterator(); it.hasNext();) {
                  String key = it.next().getKey();
                  if (key.startsWith(prefix)) {
                      keys.add(remaining);
                  }
              }
      

      This is the error

      GRAVE: Failed to process message [senderId=a9548f63-2ac4-4600-a593-dfcdca71aa38, messageType=class o.a.i.i.processors.cache.query.GridCacheQueryResponse]
      class org.apache.ignite.IgniteCheckedException: Failed to send response to node. Unsupported direct type [message=GridCacheQueryResponse [finished=false, reqId=934, err=null, fields=false, metadata=null]]
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processFailedMessage(GridCacheIoManager.java:507)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:232)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$700(GridCacheIoManager.java:48)
      	at org.apache.ignite.internal.processors.cache.GridCacheIoManager$OrderedMessageListener.onMessage(GridCacheIoManager.java:1018)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$GridCommunicationMessageSet.unwind(GridIoManager.java:2086)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.unwindMessageSet(GridIoManager.java:942)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:59)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$6.run(GridIoManager.java:911)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

        1. QueryResponseTest.java
          3 kB
          Anton Vinogradov
        2. 1374.patch
          8 kB
          Anton Vinogradov

          Activity

            People

            • Assignee:
              avinogradov Anton Vinogradov
              Reporter:
              eolivelli Enrico Olivelli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: