Re: Ignite client stuck

2020-03-17 Thread mikle-a
Hi! Thanks a lot for your reply. I am absolutely sure that all ports are open and hosts are reachable because: 1) It had been working before 2) I was able to ping all other nodes from the client host while it was stucked 3) It started working after restart Any ideas? -- Sent from: http://apa

Ignite client stuck

2020-03-16 Thread mikle-a
Hi guys! I have ignite cluster of 3 nodes and couple of applications with enabled client mode and default communication spi configuration. One morning I found one of applications being stucked with following messages in the log: I was able to connect to the server via ssh, no connectivity probl

Re: Offheap memory consumption + enabled persistence

2020-02-24 Thread mikle-a
Hi Dmitry! I didn't understand about "pure data size" :( Could you please specify how to calculate it? Despite this, I've added monitoring for mentioned cache folders and retested case with random keys and enabled persistence. Overall test chart:

Re: Offheap memory consumption + enabled persistence

2020-02-12 Thread mikle-a
First, thanks a lot for your reply! But I am still confused. Did I understood properly that each node should have enough memory to store full data set? Previously I thought that the main idea of partitioning is to distribute data among servers. For example, to distribute 300GB of data among 3 ser

Re: Different data regions on nodes

2020-02-04 Thread mikle-a
Have found that it could be solved with node filters and attributes: mark server with special custom attribute: new IgniteConfiguration().setUserAttributes(Collections.singletonMap("role", "hasRegion")) specify node filter for the cache, which selects only servers with custom attribute mentioned

Offheap memory consumption + enabled persistence

2020-02-03 Thread mikle-a
Hi! Problem I've noticed some weird behavior while working with enabled persistence (native storage): I put some amount of entries to the cluster and delete them afterwards. When I use the same set of keys each time, I see that *DataRegionMetrics.getOffheapUsedSize* reaches some limit and don't g

Page size for large objects

2020-02-03 Thread mikle-a
Hi! As I got from the documentation, DataStorageConfiguration "pageSize" parameter have to be adjusted when we have a lot of big objects. 1) How to find out actual object size? I've accomplished it with *((BinaryObjectImpl)ignite.binary().toBinary(myObject)).length()*, but not sure whether it is

Re: Different data regions on nodes

2020-02-03 Thread mikle-a
Example as code: package com.test.ignite.dataregions; import org.apache.ignite.Ignite; import org.apache.ignite.Ignition; import org.apache.ignite.cache.CacheMode; import org.apache.ignite.configuration.CacheConfiguration; import org.apache.ignite.configuration.DataRegionConfiguration; import org

Different data regions on nodes

2020-02-03 Thread mikle-a
Hi there! Is it allowed to have different data regions on server nodes? Example definition For instance, I want to have the following cluster: 1) server node #1 with data region "region1" 2) server node #2 with data regions "region1" and "region2" 3) server node #3 with data regions "region1" an