ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndreyVel <andrey4...@gmail.com>
Subject Re: Strange collocated distributed set behavior
Date Mon, 27 Jun 2016 10:13:17 GMT
Hello zshamrock,

I cannot reproduce you issue Scenario#1 on Ignite 1.6.0.
It is strange why instance 2-3-4 prints:
	[local] Size of the numbers distributed set is 0, and items are [] 

Should be
	[local] Size of the numbers distributed set is 1, and items are [42]

To be honest I have used local cluster configuration

        IgniteConfiguration cfg = new IgniteConfiguration();
        TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder(true);

        TcpDiscoverySpi discoSpi = new TcpDiscoverySpi();
        final Ignite ignite = Ignition.start(cfg);

Please add logging collection creation

        IgniteSet<Long> numbers = ignite.set("numbers", null);
        if (numbers == null) {
            System.out.println("[local] creating collection [numbers]");
            numbers = ignite.set("numbers", collectionConfiguration);

and at the end of code put

        System.out.printf("Waiting 6000 sec...");
        Thread.sleep(1000 * 6000);

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Strange-collocated-distributed-set-behavior-tp5643p5909.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message