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

Apache Ignite Binary Serialization between .NET Core and Java is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 2.8.1
    • None
    • binary
    • None
      • OS: Windows 10 10.0 amd64
      • VM information: Java(TM) SE Runtime Environment 11.0.5+10-LTS Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 11.0.5+10-LTS
      • Apache Ignite 2.8.1 version
    • Important
    • Docs Required, Release Notes Required

    Description

      I have run into issue where I use a group of Apache Ignite (2.8.1) server nodes in .NET core to create a data grid and run queries to the grid via an Apache ignite java client. I have not problem at all writing data in binary mode to the grid and ask queries via the think layer provided. I use DBeaver to run queries and everything is fine as expected. The issue rise while I am trying to query data from a java client which complains about a conflict in cache ": Conflicts during configuration merge for cache MY_CAHE". Find the error message below:

       

      Caused by: class org.apache.ignite.spi.IgniteSpiException: Conflicts during configuration merge for cache 'DOTNET_BINARY_CACHE' :
      TRADE conflict:
      keyType is different: local=Apache.Ignite.Core.Cache.Affinity.AffinityKey, received=org.apache.ignite.cache.affinity.AffinityKey
      valType is different: local=Servicing.Agent4.Service.Implementation.Misc.Ignite.Trade, received=Servicing.Agent4.Core.Java.Models.Trade

       

      More info can be found on stackoverflow https://stackoverflow.com/questions/62675059/apache-ignite-binary-serialization-between-net-core-and-java-is-not-working

      Attachments

        Activity

          People

            Unassigned Unassigned
            cparaskeva Chris Paraskeva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: