Hi Kobe,

IPC endpoint is used to communicate with HDFS, it's used by Hadoop
Accelerator.

If you simply need to distribute your file system data across, you need to
start several Ignite nodes with proper discoverySpi configuration (your
second code example) so that they form a cluster. Data will be automatically
partitioned.

Difference between TcpDiscoveryVmIpFinder and TcpDiscoveryMulticastIpFinder
is that the second one uses multicast protocol to get other nodes'
coordinates, while the first one allows only explicitly provided list of
addresses.

For example, with VM IP finder you can provide addresses of both servers to
make this work, like this:

<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
    <property name="addresses">
        <list>
            <value>address1:47500..47509</value>
            <value>address2:47500..47509</value>
        </list>
    </property>
</bean>

Multicast IP finder doesn't require any additional configuration by default,
but yes, your firewall has to allow it.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Connecting-two-nodes-in-IGFS-tp2196p2198.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to