Re: recoveryBallotBoxes in MvccProcessorImpl memory leak?

2019-11-06 Thread mvkarp
I've attached another set of screenshots, might be more clear. heap.zip mvkarp wrote > I've attached some extra screenshots showing what is inside these records > and path to GC roots. heap.zip >

Re: recoveryBallotBoxes in MvccProcessorImpl memory leak?

2019-11-06 Thread mvkarp
I've created ticket, not too sure about how to go about creating a reproducer for this - https://issues.apache.org/jira/browse/IGNITE-12350 I've attached some extra screenshots showing what is inside these records and path to GC roots. heap.zip

RE: Service grid webinar

2019-11-06 Thread Scott Cote
Looking forward to it – Thank you Denis From: Denis Mekhanikov Sent: Tuesday, November 5, 2019 4:00 PM To: d...@ignite.apache.org; user@ignite.apache.org Subject: Service grid webinar Hi Igniters! I’ve been working on the Service Grid functionality in Apache Ignite for a while, and at some

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
This is the test i am performing: 1. I have an Ignite Cluster of 3 Server Nodes running in Kubernetes. (the cluster is created using a StatefulSet) 2. Once the cluster is up i use a Deployment to run 5 pods each with a Client Node that performs put operations on my cache. 3. Once i see in the

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
We are definitely missing something obvious. ))) 1. Let's check log files for the following message: "Page-based evictions started. Consider increasing 'maxSize' on Data Region configuration:" 2. Please try to disable page eviction for the default data region. 3. Could you please describe your

Re: apache ignite installation fails in kubernetes

2019-11-06 Thread Andrei Aleksandrov
Hi, As I know it should be fixed in Apache Ignite 2.7.6. Also as an option you can try to modify your current Docker file as next (master version): https://github.com/apache/ignite/blob/master/docker/apache-ignite/Dockerfile BR, Andrei 11/6/2019 10:33 AM, Gokulnath Chidambaram пишет:

Re: Persistence store

2019-11-06 Thread slut_hunter
In this screenshot, we see 3 nodes with a full cache. In this screenshot, we see 3 nodes after restarting one. Node log before restart

Re: Ignite YARN deployment - how to use TCP IP Discovery?

2019-11-06 Thread Andrei Aleksandrov
Hi, I guess you can try collect all IP addresses from all nodes that managed by YARN (where you are going to start Ignite) and add them all to addresses into TcpDiscoveryVmIpFinder part of Ignite configuration. Also you should provide the guarantee that each such hosts will be able to

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello Slava, Apparently i celebrated to early. The first test i performed after i used the 'backup' cache property in the config it was a success indeed, but the test was performed with a half full cache. When performing the test with the cache full the results are the same as previously, entries

Re: recoveryBallotBoxes in MvccProcessorImpl memory leak?

2019-11-06 Thread Ilya Kasnacheev
Hello! Can you please show contents of some of these records, as well as their referential path to MvccProcessorImpl? Regards, -- Ilya Kasnacheev пт, 1 нояб. 2019 г. в 03:25, mvkarp : > < > http://apache-ignite-users.70518.x6.nabble.com/file/t2658/heapanalysisMAT.jpg> > > > I've attached an

Re: Persistence store

2019-11-06 Thread Ilya Kasnacheev
Hello! It should be restored from persistent store. Can you provide logs from nodes? Are you sure you don't clear persistence dirs between restarts? Regards, -- Ilya Kasnacheev ср, 6 нояб. 2019 г. в 15:09, slut_hunter : > From Persistent store. > > > > -- > Sent from:

Re: Ignite 2.7.0 YARN deployment - IGNITE_JVM_OPTS doesn't seem to work

2019-11-06 Thread Ilya Kasnacheev
Hello! You should use Static IP Finder without specifying any hosts, Yarn launcher will pass the list of hosts to discover via environment variable. IGNITE_JVM_OPTS should work. Please try to debug this issue, file a ticket against IGNITE JIRA if you have any specifics. Regards, -- Ilya

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
Hi Alex, Oh... I missed the fact that your cache is replicated. In that case, you don't need to specify the number of backups. Could you please check, that the cache mode is replicated? You can try the following code snippet:

Re: Persistence store

2019-11-06 Thread slut_hunter
>From Persistent store. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Persistence store

2019-11-06 Thread Ilya Kasnacheev
Hello! Since you have two storages (Persistent store and Cassandra) I would like to ask which one you are expecting to be restored from? Regards, -- Ilya Kasnacheev ср, 6 нояб. 2019 г. в 12:23, slut_hunter : > Good afternoon. Help me please. I use a cluster of 3 nodes 2,7,6 with the >

Re: Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello Slava, Thank you very much for the answer. It worked! Now every time 1 ignite node gets restarted it re-balances the exact number of keys. I was aware of the "backup" cache property but i think i misunderstood it's usages. As my cache is REPLICATED and in the documentations says that */"In

Re: Not able to start second server node due to authentication failure

2019-11-06 Thread Zaheer
Hi Sankar, What Andei said is correct. We need to return a security subject. I faced this problem and solved it like this : *1. Create your own SecurityPermissionSet class that implements org.apache.ignite.plugin.security.SecurityPermissionSet .* /public class TestSecurityPermissionSet

Re: Not able to start second server node due to authentication failure

2019-11-06 Thread Andrei Aleksandrov
Hi, It's correct that SecurityContext is null in your case:     SecurityContext subj = spi.nodeAuth.authenticateNode(node, cred);     if (subj == null) {         // Node has not pass authentication.         LT.warn(log, "Authentication failed [nodeId=" + node.id() +             ", addrs=" +

Re: Data is lost during rebalance

2019-11-06 Thread Вячеслав Коптилин
Hello Alex, You need to specify the number of backups for your cache. For instance, ... ... Please take a look at the page for details: https://apacheignite.readme.io/docs/primary-and-backup-copies Thanks, S. ср, 6

Not able to start second server node due to authentication failure

2019-11-06 Thread Sankar Ramiah
I have implemented custom authentication and authorization through a plugin. /public class MyPlugin implements GridSecurityProcessor, IgnitePlugin {/ Implemented authenticateNode method which bypasses authentication for server nodes and returns a security context instance. validateNode is

Persistence store

2019-11-06 Thread slut_hunter
Good afternoon. Help me please. I use a cluster of 3 nodes 2,7,6 with the settings but if I turn off 1 node and turn it back on, the cluster does not restore the cache from the storage There is 1 warning in the logs Persistence store is configured, but both read-through and write-through are

Data is lost during rebalance

2019-11-06 Thread novacean.alex
Hello, I am a new user of Ignite and i'm trying to get a cluster with 3 server nodes up and running in Kubernetes. Everything works perfectly until one ignite node gets restarted. During the rebalance process i noticed that ~20.000 entries are lost, This happens with each restart. If two ignite

Re: How to insert data?

2019-11-06 Thread BorisBelozerov
When I run your code in one node, It run OK But when I run your code in a cluster, It can't run. I can select but can't insert or do other things -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to insert data?

2019-11-06 Thread BorisBelozerov
Now I can show table DATAX by run "!tables" But when I insert data, it can't run In Eclipse, the error is: Key is missing from query In Sqlline, the error is: Failed to execute DML statement [stmt=insert into "tdCache".DATAX (key,value) values (1,'value 1');] -- Sent from:

Re: How to insert data?

2019-11-06 Thread BorisBelozerov
When I run "!tables", there isn't any tables or schemas -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/