Re: close method must be called on IgniteCache?

2018-10-19 Thread kcheng.mvp
thank your reply very much! I suppose this method `close` is intended for resource release. by the way, keep the `cache` there would occupy system resource/decrease system performance? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cluster freeze with SSL enabled and JDK 11

2018-10-19 Thread Loredana Radulescu Ivanoff
Definitely - do you want debug logs, and if yes, should I enable them on all Ignite packages, or just for certain ones? Any other diagnostic flags that I should set? On Fri, Oct 19, 2018 at 7:48 AM Ilya Kasnacheev wrote: > Hello! > > Apache Ignite does not claim support JDK 11 at this moment.

Conflict resolution during rebalancing

2018-10-19 Thread Ariel Tubaltsev
I'm looking for pointers on how conflicts in key/values are resolved during rebalancing. Theoretically, if I have a cluster of 2 nodes, CacheWriteSynchronizationMode - FULL_SYNC, CacheRebalanceMode - SYNC. Let's say nodes are partitioned in the network and valid topology is 1 node, so they

Re: Sql execution with partitionId

2018-10-19 Thread aealexsandrov
Hi, It should work as described in the documentation. If the node with primary partitions will fail then the node with backups will be used. If there are no backups then an exception will be thrown. BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cluster is not responsive after node segmentation and reconciliation

2018-10-19 Thread Ariel Tubaltsev
Understood. Those logs are pretty lengthy, let me bring some interesting pieces here. I can separate this part, with communication errors and out of memory. ignite-cluster-oom.log -- Sent from:

Re: Adding entry to partition that is concurrently evicted

2018-10-19 Thread aealexsandrov
Hi, This exception shows that one of your partitions was moved to the invalid state. It's not expected case and for investigation of the reason, we require log file too. Is it possible to provide it? BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: npe: Failed to reinitialize local partition

2018-10-19 Thread wangsan
Thanks! The ticket description is especially like my scene. I will apply the patch! I have a little confused about the persistence file. If I have a default region without persistence. and cache2a use default region. the db file(directory) won't be created. But if I have region1 (with

Re: Cluster freeze with SSL enabled and JDK 11

2018-10-19 Thread Ilya Kasnacheev
Hello! Apache Ignite does not claim support JDK 11 at this moment. However, I was able to run SSL test (TcpDiscoverySslTrustedUntrustedTest) and it turned out mostly fine. More info is needed from your side, such as full instances logs. Regards, -- Ilya Kasnacheev пт, 19 окт. 2018 г. в 0:56,

GridMergeTable

2018-10-19 Thread Prasad Bhalerao
Hi, I was debugging ignite sql execution code for following query. SELECT id, moduleId,ipEnd, ipStart FROM IpContainerIpV4Data USE INDEX(ip_container_ipv4_idx1) WHERE subscriptionId = ? AND moduleId = ? AND (ipStart<= ? AND ipEnd >= ?) UNION ALL SELECT id,

Re: Cluster freeze with SSL enabled and JDK 11

2018-10-19 Thread Gianluca Bonetti
Hello I think that the only supported version is Java 8 right now, and Java 11 support should come with 2.7 or 2.8 release. https://issues.apache.org/jira/browse/IGNITE-8441 Cheers Gianluca Il giorno gio 18 ott 2018 alle ore 23:56 Loredana Radulescu Ivanoff < lradu...@tibco.com> ha scritto: >

Re: npe: Failed to reinitialize local partition

2018-10-19 Thread Ilya Kasnacheev
Hello! Looks exactly like a known issue: https://issues.apache.org/jira/browse/IGNITE-9425 It will be fixed in 2.7 which is due real soon. You could also try nightly builds to see if it would help. Or you could try to work-around this problem based on the description from ticket (same cache

Sql execution with partitionId

2018-10-19 Thread Prasad Bhalerao
Hi, I am thinking to get partitionId using affinity function and then set it in SqlFieldsQuery object. By doing this will I be able to execute the query only a node which is primary for this partition? As per the ignite doc it should work. But I just want to confirm there are no caveats in it.

npe: Failed to reinitialize local partition

2018-10-19 Thread wangsan
when a c++ node with cache(c++ defined) join the java server node(persistence true). it will throw this exception,When I clear server persistence home then restart.the exception won't throw Why? o.a.i.i.p.c.d.d.p.GridDhtPartitionsExchangeFuture - Failed to reinitialize local partitions

Re: Query execution too long even after providing index

2018-10-19 Thread Prasad Bhalerao
Hi Evgenii, I have created a reproducer and uploaded it to GitHub. I have created 5 cases to test the sql execution time. GitHub project: https://github.com/prasadbhalerao1983/IgniteTestPrj.git Please run IgniteQueryTester class. Thanks, Prasad On Wed, Oct 17, 2018 at 7:46 PM ezhuravlev

Re: Adding entry to partition that is concurrently evicted

2018-10-19 Thread Weizhou He
Hi, All error log was pasted. I used spring to launch Ignite, so all config is defined in java. As below, @Bean("igniteConfiguration") IgniteConfiguration igniteConfiguration(@Value("${zookeeper.host}") String zkHost) { IgniteConfiguration igniteConfiguration = new IgniteConfiguration();