GridCachePartitionExchangeManager Null pointer exception

2019-01-28 Thread mahesh76private
We got this null pointer exception and the nodes rebooted. Attached are the logs. GridCachePartitionExchanger.GridCachePartitionExchanger -- Sent from:

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Justin Ji
Sergey - Thank for your reply. Yes, I can find them in the logs, I attached the logs of three nodes, the node that was restarted is node3. BTW, I use the default Rebalance Mode(ASYNC), so the rebalancing may not impact the whole cluster. Am I getting it wrong? ignite-003.log

Is there a way to restart ignite without data but only table structures.

2019-01-28 Thread yangjiajun
Hello. I want to clear data after restart ignite.But I also want to keep the table structure which I dynamically created.Is there a way to do this? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite and dynamic linking

2019-01-28 Thread Igor Sapego
Hi, Currently, Ignite on start creates JVM instance internally, but it never stops it. Also, it currently can not work with already started JVM. So when you start Ignite the first time, it loads JVM, when you stop and unload it, the JVM remains loaded in process memory. When you start Ignite

Problem setting baseline programmatically

2019-01-28 Thread kellan
I'm trying to set the baseline using this code: val expectedReplicas = context.igniteReplicas while (ignite.cluster().forServers().nodes().size() != context.igniteReplicas) { Thread.sleep(5000) }

Re: Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour

2019-01-28 Thread Humphrey
Hi Ilya, 1) Which thread pool is used by compute? (is that the ignite public thread pool [1])? I'm now using the following from when I listen to events: CompletableFuture.runAsync(() -> { ignite.compute().run(new MyRunnable(event.getValue())) }, Executors.newFixedThreadPool(10)); This

Re: failure due to IGNITE_BPLUS_TREE_LOCK_RETRIES

2019-01-28 Thread mahesh76private
We actually think while building index, the tree is getting corrupted. Increasing LOCK_RETRIES didnt fix it too... Please review the below link as well. Infact, we saw creating index was getting into a infinite loop and throwing out errors at other clients.

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Sergey Antonov
Justin, may be problem in rebalancing? https://apacheignite.readme.io/docs/rebalancing Could you grep log messages by GridCachePartitionsExchangeManager with text "Skipping rebalancing" or "Rebalancing scheduled" ? пн, 28 янв. 2019 г. в 15:04, Justin Ji : > Can someone give me some suggestions?

Ignite and dynamic linking

2019-01-28 Thread F.D.
Hi Igniters, I'm trying to use Ignite in a dll (using c++) that is dinamically loaded. I wrapped the method start/end/... bihind a "c" pure interface that I export. It works quite well. I can call the LoadLibrary and start a Ignite node. I can stop it and restart it again smoothly. I've the

Re:

2019-01-28 Thread Som Som
.Net part: using (var ignite =Ignition.StartClient(Ignition .ClientConfigurationSectionName)) { var queryEntity = new QueryEntity { KeyTypeName = typeof(string).FullName, KeyType = typeof(string),

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Justin Ji
Can someone give me some suggestions? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: QueryCursor checkpoint

2019-01-28 Thread Ilya Kasnacheev
Hello! You can indeed scan on per partition basis. Data will not move between partitions unless key is changed or affinity function is modified. Note that partition is normally stored on a single node but it might be moved in case of rebalance. You can probably read more here:

SQL Query | Cache | Partition - strange exception after 3 days in production

2019-01-28 Thread Aat
Hello, After 3 days in production : now when we try to execute this query we get an exception : var query = new SqlFieldsQuery("select Perimeter, sum(delta) from farVe" + " where Perimeter in('A','B')" + " and arDate='2019-01-25'" + " and

Re: Eviction policy is not working for default and new data region

2019-01-28 Thread Ilya Kasnacheev
Hello! I have looked at your reproducer, and got as far as: Exception in thread "main" java.io.IOException: Это каталог at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:46) at

Re:

2019-01-28 Thread Ilya Kasnacheev
Hello! Can you please show your cache configuration and the exact SQL statement used? What happens here is that Ignite expects some composite value type as opposed to bare integer. Not so clear why yet. Regards, -- Ilya Kasnacheev пн, 28 янв. 2019 г. в 14:12, Som Som <2av10...@gmail.com>: >

Re: Some questions about store and distributed processing

2019-01-28 Thread Ilya Kasnacheev
Hello! You can also use Continuous Queries for that. They will execute where the data is modified, when it is modified. https://apacheignite.readme.io/docs/continuous-queries Regards, -- Ilya Kasnacheev сб, 26 янв. 2019 г. в 13:41, yann Blazart : > Hello all ! > > I will have to use Ignite

Re: ScanQuery for List<...>

2019-01-28 Thread AndrewV
Thanks a lot. I tried to create CustomIgniteBiPredicate, but inside the method "apply" List list is always empty. *Example with an empty list in filter predicate:* public boolean apply(Integer key, List list) { // Here the list is always empty for (Foo item: list) { if (item.id ==

Re: failure due to IGNITE_BPLUS_TREE_LOCK_RETRIES

2019-01-28 Thread Ilya Kasnacheev
Hello! This is highly unusual, I guess the default value for this property should be far larger that anything attainable in practice. Dmitriy, Alexey, can you please clarify? Regards. -- Ilya Kasnacheev вс, 27 янв. 2019 г. в 21:16, mahesh76private : > Increasing the size of

[no subject]

2019-01-28 Thread Som Som
hi, i'v got a roblem reading the cache throgh the odbc. cahche was created in .net, key type is string, value type is int. error text: SQL Error [5]: javax.cache.CacheException: Failed to execute map query on remote node [nodeId=c3ef8d97-09d0-432d-a0a2-7fd73e8413bc, errMsg=Failed to execute

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Justin Ji
Sergey - Thank for your reply. Yes, I defined consistentId for every node. Is it relates to partition map exchange? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Justin Ji
Sergey - Thank for your reply. Yes, I defined consistentId for every node. Does it relates to partition map exchange? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Sergey Antonov
Hi! Did you define consistentId for nodes? https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setConsistentId-java.io.Serializable- пн, 28 янв. 2019 г. в 11:56, Justin Ji : > I have a cluster(2.7.0) with persistence enabled, the cluster

The cluster with persistence enable is stuck for 60 seconds when restarting a node. Is this normal?

2019-01-28 Thread Justin Ji
I have a cluster(2.7.0) with persistence enabled, the cluster has three server nodes(8c16g) and every node has 8 Gb data(1 primary and 1 backup). When I restart one of them, the whole cluster will stop about 60 seconds and do not process any request from the client. >From the logs, I saw that