Repository: incubator-ignite Updated Branches: refs/heads/ignite-45 dfc1a49c6 -> dea117528
# ignite-45 - fixing configs. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/dea11752 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/dea11752 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/dea11752 Branch: refs/heads/ignite-45 Commit: dea117528a8524caec5f1b7dffb09d04c904a8de Parents: dfc1a49 Author: Dmitiry Setrakyan <dsetrak...@gridgain.com> Authored: Sat Mar 21 01:57:45 2015 -0700 Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com> Committed: Sat Mar 21 01:57:45 2015 -0700 ---------------------------------------------------------------------- config/fabric/default-config.xml | 50 +------------------- .../computegrid/ComputeRunnableExample.java | 2 +- 2 files changed, 3 insertions(+), 49 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dea11752/config/fabric/default-config.xml ---------------------------------------------------------------------- diff --git a/config/fabric/default-config.xml b/config/fabric/default-config.xml index e623dff..5da95ba 100644 --- a/config/fabric/default-config.xml +++ b/config/fabric/default-config.xml @@ -23,53 +23,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- - Configuration below demonstrates how to setup a Ignite node with three - preconfigured caches. - - If you need to add streaming functionality, add your streamers - configuration in 'streamerConfiguration' property below. - - If you need to enable IGFS, use separate configuration files located in 'config/hadoop' - folder. To start a IGFS data node use 'config/hadoop/default-config.xml' file. To start - a IGFS client node use 'config/hadoop/default-config-client.xml' file. + Alter configuration below as needed. --> - <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> - <!-- Cache configurations. --> - <property name="cacheConfiguration"> - <list> - <!-- - Local cache configuration. - --> - <bean class="org.apache.ignite.configuration.CacheConfiguration"> - <property name="name" value="partitioned"/> - <property name="cacheMode" value="PARTITIONED"/> - </bean> - - <!-- - Replicated cache configuration. - --> - <bean class="org.apache.ignite.configuration.CacheConfiguration"> - <property name="name" value="replicated"/> - <property name="cacheMode" value="REPLICATED"/> - </bean> - - <!-- - Partitioned cache configuration. - --> - <bean class="org.apache.ignite.configuration.CacheConfiguration"> - <property name="name" value="local"/> - <property name="cacheMode" value="LOCAL"/> - </bean> - </list> - </property> - - <!-- Streamer configurations. --> - <property name="streamerConfiguration"> - <list> - <!-- - Specify list of streamer configurations here. - --> - </list> - </property> - </bean> + <bean id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"/> </beans> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/dea11752/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeRunnableExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeRunnableExample.java b/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeRunnableExample.java index a78c863..d5f3675 100644 --- a/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeRunnableExample.java +++ b/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeRunnableExample.java @@ -26,7 +26,7 @@ import java.util.stream.*; /** * Demonstrates a simple use of {@link IgniteRunnable}. * <p> - * Remote nodes should always be started with special configuration file which + * Remote nodes should always be 0started with special configuration file which * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-ignite.xml'}. * <p> * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will start node