Hi Aaron, It is possible, you load data from cacheStore, but there is nothing in work directory on some nodes. BinaryMarshaller saves class mappings in files in work directory.
On Tue, Jul 25, 2017 at 6:46 AM, [email protected] <[email protected]> wrote: > Thanks Val, > > Regards previous question of the setWorkDirectory for each Ignite nodes, > I found after set I always got : > > Caused by: java.lang.ClassNotFoundException: Unknown pair [platformId=0, > typeId=-482681703] > at org.apache.ignite.internal.MarshallerContextImpl.getClassName( > MarshallerContextImpl.java:385) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.MarshallerContextImpl.getClass( > MarshallerContextImpl.java:335) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId( > BinaryContext.java:692) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0( > BinaryReaderExImpl.java:1745) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize( > BinaryReaderExImpl.java:1704) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue( > BinaryObjectImpl.java:794) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.binary.BinaryObjectImpl.value( > BinaryObjectImpl.java:142) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.processors.cache.CacheObjectContext. > unwrapBinary(CacheObjectContext.java:273) ~[ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.processors.cache.CacheObjectContext. > unwrapBinaryIfNeeded(CacheObjectContext.java:161) ~ > [ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.processors.cache.CacheObjectContext. > unwrapBinaryIfNeeded(CacheObjectContext.java:148) ~ > [ignite-core-2.0.0.jar:2.0.0] > at org.apache.ignite.internal.processors.cache.GridCacheContext. > unwrapBinaryIfNeeded(GridCacheContext.java:1730) ~[ > ignite-core-2.0.0.jar:2.0.0] > > > But this class are in classpath definitely. notice there also the > configuration from the META-INF/classnames.properties; am i have to > register all my class in this properties? > > > > ------------------------------ > [email protected] > > > *From:* vkulichenko <[email protected]> > *Date:* 2017-07-22 02:23 > *To:* user <[email protected]> > *Subject:* Re: Re:Re: TcpCommunicationSpi - Caught unhandled exception in > NIO worker thread (restart the node) java.lang.OutOfMemoryError: Java heap > space > Aaron, > > On-heap can be used as a cache for off-heap, it's size is controlled by > eviction policy. Note that on-heap will have copies of entries, everything > that is on-heap is stored off-heap as well. > > Off-heap is the primary storage, it holds all the in-memory data. It is > controlled by memory policies. > > -Val > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Re-Re-TcpCommunicationSpi-Caught- > unhandled-exception-in-NIO-worker-thread-restart-the- > node-java-lange-tp15242p15253.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > > -- Best regards, Andrey V. Mashenkov
