Java Heap

2020-08-11 Thread Ali Bagewadi
Hi , Why does the java heap size gets doubled whenever a node is joined in case of Baseline Topology. Below is the snapshot [11:13:05] Topology snapshot [ver=1, locNode=aa42b819, servers=1, clients=0, state=INACTIVE, CPUs=1, offheap=0.39GB, heap=0.97GB] QObject::startTimer: Timers cannot be start

Re: Ignite client node hangs while IgniteAtomicLong is created

2020-08-11 Thread Вячеслав Коптилин
Hello Ilya, I have a look at your logs and thread dumps. This definitely a bug. The data structure processor does not properly initialize when a client node connects to a cluster that changes its own state (state transition from the inactive state to active). I have created a ticket in order to ad

Resource leak of ScanQueryIterator instances

2020-08-11 Thread kimec.ethome.sk
Greetings, we have came across a resource leak involving ScanQueryIterator instances. The code presumably causing the leak is along the following lines: public List> someMethod() { Iterator> iter = someIgniteCache.iterator(); List> entities = new ArrayList<>(); while (iter.hasNext()) {

Re: Java Heap

2020-08-11 Thread Ilya Kasnacheev
Hello! This is a cluster-wide value. Your heap doubled because you have two nodes now, each of 0.97GB. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 10:50, Ali Bagewadi : > Hi , > Why does the java heap size gets doubled whenever a node is joined in case > of Baseline Topology. > > Below

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-11 Thread Ilya Kasnacheev
Hello! I guess you may use the deprecated method or you can pass it directly to your PluginProvider (new style). Regards, -- Ilya Kasnacheev сб, 8 авг. 2020 г. в 17:05, VeenaMithare : > Okay. If I set pluginconfiguration using setPluginConfiguration, how do I > get > it in the plugins ? > > g

Local node is not included in Baseline Topology and will not be used for data storage. Use control.(sh|bat) script or IgniteCluster interface to include the node to Baseline Topology.

2020-08-11 Thread Ali Bagewadi
Hello, The local node is not included in the baseline topology by default and hence for which I get the following warning. "Local node is not included in Baseline Topology and will not be used for data storage. Use control.(sh|bat) script or IgniteCluster interface to include the node to Baseline T

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-11 Thread VeenaMithare
Hi Ilya, I have used the new style. It will also mean that this document is no longer the best way to load the plugin provider: https://apacheignite.readme.io/docs/plugins And this might need a documentation update. regards, Veena. -- Sent from: http://apache-ignite-users.70518.x6.nabble

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-11 Thread Ilya Kasnacheev
Hello! You may suggest edits to the documentation pages. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 14:58, VeenaMithare : > Hi Ilya, > > I have used the new style. > > It will also mean that this document is no longer the best way to load the > plugin provider: > https://apacheignite.r

Re: Local node is not included in Baseline Topology and will not be used for data storage. Use control.(sh|bat) script or IgniteCluster interface to include the node to Baseline Topology.

2020-08-11 Thread Ilya Kasnacheev
Hello! This happened because you activated the cluster before this server node was added to it. Once you do, you need to add nodes to baseline manually or use auto-adjust. I'm not sure there's a C++ API for activation/baseline changes. You can use control.sh for that. Regards, -- Ilya Kasnachee

Re: Ignite ML random forest questions

2020-08-11 Thread akorensh
Hi, The model(s) learn a correlation between the label(s) and the features. In the Random Forest Classification example the Labeled feature represents the class that a wine belongs to based on a given set of features. see: The labeled feature is defined here: Vectoriz

Re: Local node is not included in Baseline Topology and will not be used for data storage. Use control.(sh|bat) script or IgniteCluster interface to include the node to Baseline Topology.

2020-08-11 Thread Ali Bagewadi
Hello, I have below scenario 1)I have two server nodes i.e one on local machine and one on remote host. 2)When I start the first node the local node is added in the Baseline topology:Here adc1c71b-c21b-47aa-8be6-6fa5ebaaa035 is the local node. Current topology version: 2 (Coordinator: Consistent

Re: Failed to find reentrant lock with given name

2020-08-11 Thread Ilya Kasnacheev
Hello! Can you please file a ticket against Apache Ignite JIRA? If you have a reproducer, please share it also. Thanks, -- Ilya Kasnacheev чт, 30 июл. 2020 г. в 20:55, scottmf : > Hi, I'm seeing errors associated with reentrant locks from time to time in > my ignite 2.8.1 cluster. They start

Re: Severe performance impact to key-value API on an SQL-enabled cache (even with empty QueryEntity configuration)

2020-08-11 Thread Ilya Kasnacheev
Hello! I'm not sure what this test doing (how many ops are done per iteration? Why do you need to start Ignite for every iteration), but I want to say that adding indexing to your cache means having a primary key, in your case a composite primary key, and updating this index is going to take some

Re: Resource leak of ScanQueryIterator instances

2020-08-11 Thread Ilya Kasnacheev
Hello! I think you are correct. I have filed https://issues.apache.org/jira/browse/IGNITE-13352 Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 13:35, kimec.ethome.sk : > Greetings, > > we have came across a resource leak involving ScanQueryIterator > instances. > The code presumably causin

I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-11 Thread Homer Kommrad
Hello , I have a cluster of 2 server nodes and I'm trying to connect them via a client node on another server. When I try to connect , my client node connects and I can see the topology changing , 1 Client up . But right after that , I keep getting the exception for socketTimeout . such is the lo

build failure for module hibernate 5.3

2020-08-11 Thread Tathagata Roy
I am trying to do a poc on using apache ignite as hibernate 2nd level cache, following the example given https://apacheignite-mix.readme.io/v2.1/docs/hibernate-l2-cache#maven-configuration. Since we are using Hibernate 5.3.7 in Spring Boot, I need to use ignite-hibernate_5.3. Unfortunately this

Re: build failure for module hibernate 5.3

2020-08-11 Thread Evgenii Zhuravlev
Hi, You can use it from this repository: https://gridgainsystems.com/nexus/content/repositories/external/org/gridgain/ignite-hibernate_5.3/ I believe there are no changes between these versions. Best Regards, Evgenii вт, 11 авг. 2020 г. в 10:53, Tathagata Roy : > I am trying to do a poc on usin

Re: I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-11 Thread Evgenii Zhuravlev
Hi, It looks like the node can't establish a connection using the Communication channel to the remote node. I would recommend checking that all ports are opened and there is no firewall. Also, you can check that connection can be established using telnet or any other tool. If you're sure, that con

Re: I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-11 Thread Homer Kommrad
Thank you for the quick response. First of wall ,none of the servers have a firewall. And all the ignite instances are run as root, on machines that I solely run for ignite. So I really don't understand How they can have any connection permission problems at all. For now , I'll also provide the sm

How can I find out if indexes are used in a query?

2020-08-11 Thread Axel Luft
EXPLIN PLAN doesn't show any indexes used although I created them. We are using python3 (sql interface). The aggregation query on 1.000.000 rows is very slow with about 4seconds. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Operation block on Cluster recovery/rebalance.

2020-08-11 Thread Denis Magda
John, It sounds like a deadlock caused by the application logic. Is there any chance that the operation you run on step 8 accesses several keys in one order while the other operations work with the same keys but in a different order. The deadlocks are possible when you use Ignite Transaction API o

Re: How can I find out if indexes are used in a query?

2020-08-11 Thread Evgenii Zhuravlev
Hi, EXPLAIN should show all the indexes. Are you sure that these indexes can be used for your query? You also can use USE INDEX hint to force the use of the index. Best Regards, Evgenii вт, 11 авг. 2020 г. в 16:22, Axel Luft : > EXPLIN PLAN doesn't show any indexes used although I created them.

How to remove IgniteAtomicLong using REST API?

2020-08-11 Thread Pavel Strashkin
Hi there, It seems atomic longs are stored in a special system cache as the "rmv" command doesn't really remove the key. Is there a way to remove IgniteAtomicLong using REST API? If not - what would it take to add such a command? Is there any other option like thin client? Thanks.

Re: build failure for module hibernate 5.3

2020-08-11 Thread Petr Ivanov
HI! Try adding this repository to your settings.xml: https://repository.ow2.org/nexus/content/repositories/public/ > On 11 Aug 2020, at 20:53, Tathagata Roy > wrote: > > I am trying to do a poc on using apache ignite as hiber