thanks After I did that. I stopped my remote cluster and restarted the remote
cluster and then the client node in the spring code.
and now its sitting here after calling this line
ignited = Ignition.start(System.getProperty(IGNITE_CONFIG_FILE_PROP));
has not returned from this line - should I have cleared something. Below is
the configuration I used for storage
INFO: Join cluster while cluster state transition is in progress, waiting
when transition finish.
<bean class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="pageSize" value="#{4 * 1024}"/>
<property name="storagePath"
value="/home/phxuat/ignite/persistence"/>
<property name="walPath" value="/home/phxuat/wal"/>
<property name="walArchivePath"
value="/home/phxuat/wal/archive"/>
<property name="writeThrottlingEnabled" value="true"/>
<property name="defaultDataRegionConfiguration">
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="Default_Region"/>
<property name="initialSize"
value="#{25 * 1024 * 1024}"/>
<property name="maxSize" value="#{50 *
1024 * 1024}"/>
<property name="checkpointPageBufferSize"
value="#{1024 * 1024 * 1024}"/>
<property name="persistenceEnabled" value="true"/>
</bean>
</property>
<property name="dataRegionConfigurations">
<list>
<bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="name" value="500MB_Region"/>
<property name="initialSize" value="#{100 * 1024
* 1024}"/>
<property name="maxSize" value="#{500 * 1024 *
1024}"/>
<property name="persistenceEnabled"
value="true"/>
<property name="pageEvictionMode"
value="RANDOM_2_LRU"/>
</bean>
</list>
</property>
</bean>
</property>
<property name="cacheConfiguration">
<list>
<bean
class="org.apache.ignite.configuration.CacheConfiguration">
<property name="name" value="Lables"/>
<property name="atomicityMode" value="ATOMIC"/>
<property name="backups" value="1"/>
<property name="dataRegionName" value="500MB_Region"/>
<property name="cacheMode" value="PARTITIONED"/>
<property name="indexedTypes">
<list>
<value>com.db.sl.inventory.model.LabelId</value>
<value>com.db.sl.inventory.model.Label</value>
</list>
</property>
<property name="onheapCacheEnabled" value="true"/>
<property name="evictionPolicy">
<bean
class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
<property name="maxSize" value="1000000"/>
</bean>
</property>
<property name="eagerTtl" value="true"/>
</bean>
</list>
</property>
<property name="includeEventTypes">
<list>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_STARTED"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_FINISHED"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_FAILED"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_TIMEDOUT"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_SESSION_ATTR_SET"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_TASK_REDUCED"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_READ"/>
<util:constant
static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_REMOVED"/>
</list>
</property>
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/