One node per container. Configuration below, key values come from env vars.

IGNITE_DATA_REGION_MAX_SIZE_MB=16384
IGNITE_DATA_REGION_MAX_SIZE=$(( $PIPE_IGNITE_DATA_REGION_MAX_SIZE_MB * 1024
* 1024 ))  # 17179869184
IGNITE_JVM_OPTS='-Xms8g -Xmx8g'
IGNITE_PERSISTENCE_ENABLED=true
IGNITE_TEST_CACHE_BACKUPS=2


<?xml version="1.0" encoding="UTF-8"?>
<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 id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">

                <property name="dataStorageConfiguration">
                        <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                                <property
name="defaultDataRegionConfiguration">
                                        <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                                                <property name="name"
value="Default_Region"/>
                                                <property
name="initialSize" value="#{new
Long(systemEnvironment['IGNITE_DATA_REGION_MAX_SIZE'])}"/>
                                                <property name="maxSize"
value="#{new Long(systemEnvironment['IGNITE_DATA_REGION_MAX_SIZE'])}"/>
                                                <property
name="persistenceEnabled" value="#{new
Boolean(systemEnvironment['IGNITE_PERSISTENCE_ENABLED'])}"/>
                                        </bean>
                                </property>
                                <property name="concurrencyLevel"
value="#{new
Integer(systemEnvironment['IGNITE_DATA_REGION_CONCURRENCY_LEVEL'])}"/>
                        </bean>
                </property>

                <property name="discoverySpi">
                        <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                                <property name="joinTimeout" value="60000"/>
                                <property name="ipFinder">
                                        <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                                                <property name="addresses"
value="#{systemEnvironment['IGNITE_IP_LIST'].split(',')}"/>
                                        </bean>
                                </property>
                        </bean>
                </property>

                <property name="cacheConfiguration">
                        <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                                <property name="name"
value="#{systemEnvironment['IGNITE_TEST_CACHE']}"/>
                                <property name="cacheMode"
value="PARTITIONED"/>
                                <property name="backups" value="#{new
Integer(systemEnvironment['IGNITE_TEST_CACHE_BACKUPS'])}"/>
                                <property name="writeSynchronizationMode"
value="FULL_SYNC"/>
                        </bean>
                </property>

        </bean>
</beans>


On Fri, Jun 22, 2018 at 7:11 AM, aealexsandrov <[email protected]>
wrote:

> Hi,
>
> Could you please provide your configuration files? How many nodes did you
> start in your container?
>
> BR,
> Andrei
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
*Andrew Fung*
Engineering  | ❖ Medallia
[email protected]

https://lwn.net/2000/0824/a/esr-sharing.php3

Reply via email to