Re: "Unable to await partitions release latch within timeout: ServerLatch" exception causing cluster freeze

2018-07-30 Thread Ray
Hello Pavel, The PME stuck again and here's the detailed log and thread dump. node1.zip node2.zip node3.zip

Cache updates to nodes in client mode

2018-07-30 Thread Gordon Reid (Nine Mile)
Hi, We have a single java server instance, and we run multiple .NET nodes (GUIs) in client mode. It seems that when one GUI is locked up (for whatever reason) the other GUIs (client nodes) will stop receiving updates. I.e. it seems that cache sync to client nodes is done on a round robin basis

SQL exeucution in ignite

2018-07-30 Thread Prasad Bhalerao
1) Does ignite use heap space to do the required processing as per the execution plan to retrieve the data from cache which is in off heap memory? 2) Please check the following SQL. This CACHE_1 has around 50 million entries. select * from ( select * from CACHE_1 where filter1 = ? (Q1) UNION se

Can't connect client to server after client shuts down the first time

2018-07-30 Thread ianhamilton_modelshop
Hello, I'm doing a POC to see if Ignite is suitable for my company's application. While doing this, I have created the following environment: Configuration: Ignite version: 2.6.0 Java version used: Java(TM) SE Runtime Environment 1.8.0_171-b11 Oracle Corporation Java HotSpot(TM) 64-Bit Server

Re: Graph Database with Ignite?

2018-07-30 Thread Jörn Franke
This does normally not make sense because most graph databases keep the graph structure (not necessarily the vertex details, but vertexes and edges ) in-memory. As far as I know, Ignite does not provide graph data structures such as adjacency matrix/list. If you have a very huge graph of which t

Re: Affinity calls in stream receiver

2018-07-30 Thread Vladislav Pyatkov
Hi David, I think if you have two various classes only, Metaspace should not contain 6000 classes. If I am not wrong, serve will contain that two classes from each client owner node (after one of client node leave topology - classes will unload from Metaspace). In othervice, please provide reprod

Ignite.NET tasks cancellation

2018-07-30 Thread Maksym Ieremenko
Hello all, Ignite.NET, nuget package 2.6.0, .NETFramework 4.7.2 I am quite a novice with Apache Ignite. I am looking for solution to cancel running tasks on Ignite cluster. Based on examples I tried following code: public class HangingDemo { public IIgnite Ignite { get; }

Graph Database with Ignite?

2018-07-30 Thread Wilhelm Thomas
Hello, I’m looking into Neo4J and Apache Gremlin graph databases. Does ignite can support a graph database? Can I use ignite as the underline database and use Gremlin for the queries? Thanks w

Re: entyproccessor dont locking entry

2018-07-30 Thread vkulichenko
You're iterating through some collection of key-value pairs and then use value from that pair within the entry processor, which is incorrect. You should always use the one acquired via entry.getValue(); there. I would actually recommend you to create a separate class instead of using lambda for en

Re: Why thereis a Binary Marshaller?

2018-07-30 Thread vkulichenko
The point here is that Ignite stores data in binary format, and deserialization happens only on client side. Therefore, you can start server nodes without deploying Person and Organization classes there, and the example will still work. On top of that, you can change class definition on client side

Re: Changing existing persistent caches.

2018-07-30 Thread vkulichenko
Hi Dave, Currently there is no ability to change any cache configuration parameters except the ones you mentioned - you turn on/off statistics and modify schema using DDL. You can't change persistence settings in runtime as well, because that would require changing the data region cache is assign

RE: Ignite.NET + Apache Cassandra integration for SQL cache

2018-07-30 Thread Stanislav Lukyanov
Hi, You don’t need to use DDL here. It’s better to - Define Key class to be like class Key { [QuerySqlField] String CacheKey; [AffinityKeyMapped] long AffinityKey; } - set your Key and UserData to be indexed cacheCfg.QueryEntities = { new QueryEntity(typeof(Key), typeo

Re: Ignite Cluster with remote server + Cassandra Persistence

2018-07-30 Thread okiesong
Hi, can I get an update on this? I am just wondering how I should approach this problem. Thanks again! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Cache Expiry policy does not remove the cache from cache lists

2018-07-30 Thread okiesong
Him first of all, thank you very much for your quick response! Just wondering, in that case, is there any scheduling job within Ignite that removes the cache itself after the records are removed due to expiry policy, so that when I call ignite.cacheNames() we know that it is removed? Thanks again!

Re: Delete/remove cache does not free the memory in PCF server

2018-07-30 Thread okiesong
Hi, first of all, thank you very much for your quick response! My case is that on the PCF server, once I execute the ignite against the 1.0 million records, my memory usage displayed by the PCF server increase by 200MB. After I execute the destroy cache function (just like I posted in my above pos

entyproccessor dont locking entry

2018-07-30 Thread sergey.dolinkov
there is next code: counters.forEach((key, value) -> { TaskTicketsCounter outCounter = taskTicketCounterCache.invoke(key, (entry, args) -> { TaskTicketsCounter counter = entry.getValue(); if (counter != null) { System.out.println(counter.get

Re: Ignite Cache Expiry policy does not remove the cache from cache lists

2018-07-30 Thread Mikael
Hi! The expiry policy will only remove entries, the cache itself is never removed, you have to do that yourself. Mikael Den 2018-07-30 kl. 15:49, skrev okiesong: Ignite Cache Expiry policy does not remove the cache from cache lists. I have set it to 2 hrs, but after 2hours, the records seem

Ignite Cache Expiry policy does not remove the cache from cache lists

2018-07-30 Thread okiesong
Ignite Cache Expiry policy does not remove the cache from cache lists. I have set it to 2 hrs, but after 2hours, the records seems to have been removed, but not the entire cache, as I could find that cache name when I call ignite.cacheNames(); I was basically using the same example from https://apa

Ignite yarn cache store clas snto found

2018-07-30 Thread debashissinha
Hi , I am deploying ignite as yarn and I have cachestore configured for a third party rdbms . I have created a package in the yarn ignite project for cache and placing the cachestore class in it . I am also mentioning the package name in ignite-default-config.xml for readthrough cache. However o

Changing existing persistent caches.

2018-07-30 Thread Dave Harvey
I know Ignite only allows very limited changes to caches at runtime, e.g., turn on statistics or add/remove index or field. I'm wondering if there is a way to change any of the cache configuration for persistent caches at cluster startup.I have the impression that at some point I saw some code

Re: "Unable to await partitions release latch within timeout: ServerLatch" exception causing cluster freeze

2018-07-30 Thread Ray
Hello Pavel, I was able to reproduce this issue and I've attached the DEBUG log and thread dump for three nodes as you suggested. Archive.zip This time, there's no "no route to host" exception between server and client node

Re: Delete/remove cache does not free the memory in PCF server

2018-07-30 Thread Dmitriy Govorukhin
Ignite does not deallocate memory in a region after all caches are stopped. It is the default behavior. In future, you may create new caches in this regions without necessary allocate memory. Could you please explain your case in more details? On Fri, Jul 27, 2018 at 4:10 PM okiesong wrote: > Hi

Re: Questions about how Ignite SQL Works

2018-07-30 Thread Lijun Cao
I get it. Thank you for answering my question Mikael :-) . > 在 2018年7月30日,16:18,Mikael 写道: > > Hi! > > With native persistence enabled it's all done for you, a query will search > both ram and disk contents and at a restart Ignite will load "missing" data > from disk when needed, so if you d

Re: Questions about how Ignite SQL Works

2018-07-30 Thread Mikael
Hi! With native persistence enabled it's all done for you, a query will search both ram and disk contents and at a restart Ignite will load "missing" data from disk when needed, so if you do an SQL query it will load any data from disk if it should be included in the result, for the query poi

Why thereis a Binary Marshaller?

2018-07-30 Thread monstereo
I have to implement cache in generic way. Documentation says that "It enables you to construct new objects based on a type name without having class definitions at all, hence allowing dynamic type creation." But when i look at the github examples here

Re: rest api rmdbs integration

2018-07-30 Thread wt
that's done and working and how i start the server and load cache in intellij. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Questions about how Ignite SQL Works

2018-07-30 Thread Lijun Cao
Okay, thank you. > 在 2018年7月30日,15:32,Prem Prakash Sharma > 写道: > > Don't know about the first question but if you have persistence enabled > ignite will load the data on startup > > Regards, > Prem > > On Mon, Jul 30, 2018, 1:00 PM Lijun Cao <641507...@qq.com >

Re: Questions about how Ignite SQL Works

2018-07-30 Thread Prem Prakash Sharma
Don't know about the first question but if you have persistence enabled ignite will load the data on startup Regards, Prem On Mon, Jul 30, 2018, 1:00 PM Lijun Cao <641507...@qq.com> wrote: > Hi: > > I have referenced *How Ignite SQL Works *document but I still have got 2 > questions. > > The fir

Questions about how Ignite SQL Works

2018-07-30 Thread Lijun Cao
Hi: I have referenced How Ignite SQL Works document but I still have got 2 questions. The first question is, when I load data to Ignite cluster(3 nodes) in first time, the data is stored both on RAM and disk(I enabled local persistence), so which area does Ignite query on in this situation?