Hello,

Am trying to enable Ignite Native Persistence in Ignite Yarn Deployment.
Purpose of this is to have no eviction of data at all from Ignite grids.
Whenever the memory is full the data should get stored in disc.

But when I try to add large number of records to Ignite Grid, the data is
getting evicted.

Example : 
In Iteration 1 added 100000 records. Expected and actual count of records is
100000.
In Iteration 2 added another 100000 records. But instead of expected 200000
records, there were only around 120000 records. Guess the remaining got
evicted from grid and there is data loss.

Kindly guide me to enable persistence without data eviction so that there is
no data loss.

Please find below the details.

Ignite Version : 2.3.0

Cluster details for Yarn Deployment:

IGNITE_NODE_COUNT=10
IGNITE_RUN_CPU_PER_NODE=5
IGNITE_MEMORY_PER_NODE=10096
IGNITE_VERSION=2.3.0
IGNITE_PATH=/tmp/ignite/2.3.0/apache-ignite-fabric-2.3.0-bin.zip
IGNITE_RELEASES_DIR=/tmp/ignite/2.3.0/releases
IGNITE_WORKING_DIR=/tmp/ignite/2.3.0/work
IGNITE_XML_CONFIG=/tmp/ignite/2.3.0/config/ignite-config.xml
IGNITE_USERS_LIBS=/tmp/ignite/2.3.0/libs
IGNITE_LOCAL_WORK_DIR=/local/home/ignite/2.3.0

Ignite Configuration for Yarn deployment: 

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xmlns:util="http://www.springframework.org/schema/util";
           xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
        http://www.springframework.org/schema/util
        http://www.springframework.org/schema/util/spring-util-2.0.xsd";>
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
                <property name="clientMode" value="false"/>
                 <property name="dataStorageConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                      <property name="defaultDataRegionConfiguration">
                       <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="persistenceEnabled" value="true"/>
                        </bean>
                      </property>
                    </bean>
                </property>
                <property name="peerClassLoadingEnabled" value="true"/>
                <property name="networkTimeout" value="10000000"/>
                <property name="networkSendRetryCount" value="50"/>
                <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                          <list>
                                     <value><hosts>:47500</value>               
 
                            </list>
                        </property>
                    </bean>
                </property>
                                <property name="networkTimeout"
value="10000000"/>
                                <property name="joinTimeout"
value="10000000"/>
                                <property name="maxAckTimeout"
value="10000000"/>
                                <property name="reconnectCount" value="50"/>
                                <property name="socketTimeout"
value="10000000"/>
            </bean>
        </property>
    </bean>
</beans>

Thanks in Advance !!!





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to