Hi Andrey,

This should have been fixed recently as a part of this JIRA task
https://issues.apache.org/jira/browse/IGNITE-2498

The fix will be available in the next release.

Presently, as a workaround you can turn off peerClassLoading setting using IgniteConfiguration.setPeerClassLoadingEnabled(false).

--
Denis

On 2/9/2016 6:34 PM, Andrey Nestrogaev wrote:
Hi All,

When cache configured with
   <property name="memoryMode" value="OFFHEAP_TIERED"/>
   <property name="offHeapMaxMemory" value="#{2 * 1024L * 1024L * 1024L}"/>

and trying to fill it like:
    IgniteCache<Integer, BinaryObject> cache =
ignite.getOrCreateCache("demoCache").withKeepBinary();
    cache.put(key, binaryObject)
get error (see attachment)

without memoryMode config all works.
if use IgniteDataStreamer all works.
    IgniteDataStreamer<Integer, BinaryObject> stmr =
ignite.dataStreamer("demoCache")
    stmr.addData(i, binaryObject);


Thanks. log.txt
<http://apache-ignite-users.70518.x6.nabble.com/file/n2906/log.txt>



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/memoryMode-OFFHEAP-TIERED-tp2906.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to