Hi,
I tried to cache the contents of file using c++ cache, I get the following
error:
An error occurred: Java exception occurred
[cls=org.apache.ignite.internal.processors.platform.PlatformNoCallbackException,
msg=Callback handler is not set in native platform.]
I think it might have to do with large size of file content. So I tried this
as a value, which gives same error.
string val = "";
for (int i = 0; i < 1000; i++)
val = val + "aaaaa\n";
When I use i till 100, the code works.
Current configuration of nodes:
2 nodes stated with following commands on the same machine.
./modules/platforms/cpp/ignite/ignite -springConfigUrl=config/config2.xml
./modules/platforms/cpp/ignite/ignite -springConfigUrl=config/config2.xml
-jvmMaxMemoryMB=4096
config2.xml:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
<property name="peerClassLoadingEnabled" value="true"/>
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="atomicityMode" value="ATOMIC"/>
<property name="backups" value="1"/>
</bean>
</list>
</property>
<property name="discoverySpi">
<bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
<property name="addresses">
<list>
<value>10.0.1.48</value>
</list>
</property>
</bean>
</property>
</bean>
</property>
</bean>
</beans>
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/C-Distributed-cache-for-caching-files-tp4158p4312.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.