# sprint-1 minor
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/aaa1e623 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/aaa1e623 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/aaa1e623 Branch: refs/heads/ignite-160 Commit: aaa1e623afa0541b19f9eafcde5073ee04dec500 Parents: 70160ee Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Wed Feb 4 14:28:19 2015 +0300 Committer: Yakov Zhdanov <yzhda...@gridgain.com> Committed: Wed Feb 4 14:28:19 2015 +0300 ---------------------------------------------------------------------- .../test/config/load/mongo-multinode-foster.xml | 170 ------------------- 1 file changed, 170 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/aaa1e623/modules/core/src/test/config/load/mongo-multinode-foster.xml ---------------------------------------------------------------------- diff --git a/modules/core/src/test/config/load/mongo-multinode-foster.xml b/modules/core/src/test/config/load/mongo-multinode-foster.xml deleted file mode 100644 index d8303d8..0000000 --- a/modules/core/src/test/config/load/mongo-multinode-foster.xml +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --> - -<!-- - GridGain Mongo configuration for multinode benchmark on Foster City servers. ---> -<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.xsd - http://www.springframework.org/schema/util - http://www.springframework.org/schema/util/spring-util.xsd"> - - <!-- - Optional description. - --> - <description> - GridGain Mongo configuration for multinode benchmark. - </description> - - <bean class="org.apache.ignite.configuration.IgniteConfiguration"> - <!-- - Mongo configuration. - --> - <property name="mongoConfiguration"> - <bean class="org.gridgain.grid.mongo.GridMongoConfiguration"> - <!-- Uncomment to specify non-default server port. --> - <!-- - <property name="serverPort" value="28018"/> - --> - - <!-- Must match Documents Database cache. --> - <property name="defaultDataCacheName" value="data"/> - - <!-- Must match Metadata Database cache. --> - <property name="metaCacheName" value="meta"/> - </bean> - </property> - - <!-- - Caches configurations. - --> - <property name="cacheConfiguration"> - <list> - <!-- - Data cache configuration. - --> - <bean class="org.apache.ignite.cache.CacheConfiguration"> - <property name="name" value="data"/> - - <property name="cacheMode" value="PARTITIONED"/> - - <property name="writeSynchronizationMode" value="FULL_SYNC"/> - - <property name="startSize" value="1000000"/> - - <property name="swapEnabled" value="false"/> - - <property name="affinityMapper"> - <bean class="org.gridgain.grid.kernal.processors.mongo.cache.GridMongoAffinityKeyMapper"/> - </property> - - <property name="distributionMode" value="PARTITIONED_ONLY"/> - - <property name="preloadOrder" value="2"/> - </bean> - - <!-- - Meta cache configuration. - --> - <bean class="org.apache.ignite.cache.CacheConfiguration"> - <property name="name" value="meta"/> - - <property name="cacheMode" value="REPLICATED"/> - - <property name="writeSynchronizationMode" value="FULL_SYNC"/> - - <property name="preloadOrder" value="1"/> - - <property name="preloadMode" value="SYNC"/> - </bean> - </list> - </property> - - <!-- - Disable events. - --> - <property name="includeEventTypes"> - <list> - <util:constant static-field="org.apache.ignite.events.IgniteEventType.EVT_TASK_FAILED"/> - <util:constant static-field="org.apache.ignite.events.IgniteEventType.EVT_TASK_FINISHED"/> - <util:constant static-field="org.apache.ignite.events.IgniteEventType.EVT_JOB_MAPPED"/> - </list> - </property> - - <!-- - Disable rest access to this node. - --> - <property name="restEnabled" value="false"/> - - <!-- - Disable peer class loading. - --> - <property name="peerClassLoadingEnabled" value="false"/> - - <property name="executorService"> - <bean class="org.apache.ignite.thread.IgniteThreadPoolExecutor"> - <constructor-arg type="int" value="#{T(java.lang.Runtime).getRuntime().availableProcessors() * 2}"/> - <constructor-arg type="int" value="#{T(java.lang.Runtime).getRuntime().availableProcessors() * 2}"/> - <constructor-arg type="long"> - <util:constant static-field="java.lang.Long.MAX_VALUE"/> - </constructor-arg> - <constructor-arg type="java.util.concurrent.BlockingQueue"> - <bean class="java.util.concurrent.LinkedBlockingQueue"/> - </constructor-arg> - </bean> - </property> - - <!-- - TCP discovery SPI (uses VM-shared IP-finder). - --> - <property name="discoverySpi"> - <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> - <!-- Override default IP-finder.--> - <property name="ipFinder"> - <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"> - <property name="addresses"> - <list> - <value>10.1.10.212:47500</value> - <value>10.1.10.213:47500</value> - <value>10.1.10.215:47500</value> - <value>10.1.10.216:47500</value> - </list> - </property> - </bean> - </property> - - <property name="heartbeatFrequency" value="15000"/> - <property name="ackTimeout" value="7000"/> - <property name="socketTimeout" value="3000"/> - </bean> - </property> - - <!-- - TCP communication SPI. - --> - <property name="communicationSpi"> - <bean class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"> - <property name="connectionBufferSize" value="0"/> - </bean> - </property> - </bean> -</beans>