Hi Team, we have 6 node Ignite cluster, loading data with Spark. recently we have added "cacheConfiguration", getting below error when we try to recreate "cache" using spark data load.
any hint help please? The error: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.ignite.configuration.CacheConfiguration#18d63996' defined in URL [file:/apps/ignitedata/apache-ignite-fabric-2.6.0-bin/config/default-config.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'statisticsEnabled' of bean class [org.apache.ignite.configuration.CacheConfiguration]: Bean property 'statisticsEnabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1280) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299) my config: <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="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="segmentationPolicy" value="RESTART_JVM"/> <property name="segmentCheckFrequency" value="10000"/> <property name="segmentationResolveAttempts" value="5"/> <property name="rebalanceThreadPoolSize" value="4" /> <property name="longQueryWarningTimeout" value="3000"/> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="metricsEnabled" value="true" /> <property name="storagePath" value="/apps/ignitedata/data" /> <property name="walArchivePath" value="/apps/ignitedata/data/wal/archive" /> <property name="writeThrottlingEnabled" value="true"/> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="default_mem_region"/> <property name="persistenceEnabled" value="true"/> <property name="checkpointPageBufferSize" value="#{1024L * 1024 * 1024}"/> <property name="maxSize" value="#{40L * 1024 * 1024 * 1024}"/> <property name="metricsEnabled" value="true" /> </bean> </property> <property name="DataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="q_major"/> <property name="initialSize" value="#{10L * 1024 * 1024 * 1024}"/> <property name="maxSize" value="#{50L * 1024 * 1024 * 1024}"/> <property name="persistenceEnabled" value="true"/> </bean> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="q_minor"/> <property name="initialSize" value="#{10L * 1024 * 1024 * 1024}"/> <property name="maxSize" value="#{60L * 1024 * 1024 * 1024}"/> <property name="persistenceEnabled" value="true"/> </bean> </list> </property> </bean> </property> <property name="authenticationEnabled" value="true"/> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="ccwrCacheTemplate*"/> <property name="cacheMode" value="PARTITIONED" /> <property name="backups" value="1" /> <property name="partitionLossPolicy" value="IGNORE"/> <property name="atomicityMode" value="ATOMIC"/> <property name="sqlSchema" value="ccwr"/> <property name="queryDetailMetricsSize" value="100"/> <property name="statisticsEnabled" value="true"/> <property name="managementEnabled" value="true"/> <property name="rebalanceBatchSize" value="#{2 * 1024 * 1024}"/> <property name="rebalanceBatchesPrefetchCount" value="4"/> <property name="maxConcurrentAsyncOperations" value="#{4 * 500}"/> </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="multicastGroup" value="228.1.2.5"/> </bean> </property> </bean> </property> </bean> </beans> Thanks -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/