Ignite Visor cache command freezes, when client node connects.

classic Classic list List threaded Threaded
2 messages Options
javadevmtl javadevmtl
Reply | Threaded
Open this post in threaded view
|

Ignite Visor cache command freezes, when client node connects.

This post was updated on .
Hi, using 2.7.3

I start my client as...

        TcpDiscoverySpi spi = new TcpDiscoverySpi();
        TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
        ipFinder.setAddresses(addresses.getList());
        spi.setIpFinder(ipFinder);

        igniteConfig.setDiscoverySpi(spi);

        igniteConfig.setClientMode(true);

I then also create a cache dynamically as...

        CacheConfiguration cacheCfg = new CacheConfiguration("MY_CACHE");

        cacheCfg.setCacheMode(CacheMode.REPLICATED);
        this.cache =
igniteClient.getIgniteInstance().getOrCreateCache(cacheCfg);

In ignitegridvisor.sh when I run the "cache" command it seems to freeze
until I disconnect my application.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: Ignite Visor cache command freezes, when client node connects.

Hello!

Can you collect thread dumps during freeze?

Regards,
--
Ilya Kasnacheev


пт, 11 янв. 2019 г. в 01:23, javadevmtl <[hidden email]>:
Hi, using 2.7.3

I start my client as...

        TcpDiscoverySpi spi = new TcpDiscoverySpi();
        TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
        ipFinder.setAddresses(addresses.getList());
        spi.setIpFinder(ipFinder);

        igniteConfig.setDiscoverySpi(spi);

        igniteConfig.setClientMode(true);

I then also create a cache dynamically as...

        CacheConfiguration cacheCfg = new CacheConfiguration("DJTAZZ");

        cacheCfg.setCacheMode(CacheMode.REPLICATED);
        this.cache =
igniteClient.getIgniteInstance().getOrCreateCache(cacheCfg);

In ignitegridvisor.sh when I run the "cache" command it seems to freeze
until I disconnect my application.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/