On further troubleshooting I realized that the error appeared only when I have different typeNames used for the key and value objects added to the cache.
BinaryObjectBuilder keyBuilder = ignite.binary().builder(table.getCacheKeyType()); BinaryObjectBuilder valueBuilder = ignite.binary().builder(table.getCacheValueType()); If I use the same typeName BinaryObjectBuilder keyBuilder = ignite.binary().builder(table.getCacheType()); BinaryObjectBuilder valueBuilder = ignite.binary().builder(table.getCacheType()); The error disappears. Can someone share insights into why using different type names failed with an error "Caused by: class org.apache.ignite.IgniteCheckedException: Class definition was not found at marshaller cache and local file." ? Why does ignite looking into the local file for cache definitions? Thanks. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Error-while-loading-data-into-cache-with-BinaryObject-as-key-field-tp6014p6042.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.