You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Suntsov (JIRA)" <ji...@apache.org> on 2015/07/22 13:21:04 UTC

[jira] [Created] (IGNITE-1138) Need to edit all examples configs

Ilya Suntsov created IGNITE-1138:
------------------------------------

             Summary: Need to edit all examples configs  
                 Key: IGNITE-1138
                 URL: https://issues.apache.org/jira/browse/IGNITE-1138
             Project: Ignite
          Issue Type: Bug
            Reporter: Ilya Suntsov
            Assignee: Yakov Zhdanov


a) Need to edit property 'ipFinder' in $IGNITE_HOME/examples/example-ignite.xml. 
As default set TcpDiscoveryVmIpFinder and as alternative (commented) set also TcpDiscoveryVmIpFinder:
{noformat}
<property name="ipFinder">
                    <!--
                        Ignite provides several options for automatic discovery that can be used
                        instead os static IP based discovery. For information on all options refer
                        to our documentation: http://apacheignite.readme.io/docs/cluster-config
                    -->
                    <!-- Uncomment static IP finder to enable static-based discovery of initial nodes. -->
                    <!--<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
                    <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                            <list>
                                <!-- In distributed environment, replace with actual host IP address. -->
                                <value>127.0.0.1:47500..47509</value>
                            </list>
                        </property>
                    </bean>
                </property>
{noformat}

Should be:
{noformat}
<property name="ipFinder">
                    <!-- Uncomment static IP finder to enable static-based discovery of initial nodes. -->
                    <!--<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder..multicast.TcpDiscoveryMulticastIpFinder">-->
                    <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                            <list>
                                <!-- In distributed environment, replace with actual host IP address. -->
                                <value>127.0.0.1:47500..47509</value>
                            </list>
                        </property>
                    </bean>
                </property>
{noformat}
b) I guess, we should also set as default TcpDiscoveryVmIpFinder in examle-cache.xml, examle-client.xml, examle-compute-client.xml and examle-server.xml.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)