Re: Quick questions on Evictions

2018-06-21 Thread Andrey Mashenkov
Yes, you are right. On Wed, Jun 20, 2018 at 4:13 PM the_palakkaran wrote: > So to conclude, if I have enabled on heap storage for cache(using > cache.setOnHeapEnabled(true), > then : > 1. Still data will be stored off heap, but will be loaded to heap. To > escape > out of memory error, I have

setting baseline topology in kubernetes

2018-06-21 Thread arunkjn
Hi, We run a ignite cluster in kubernetes. We currently deploy our containerised java code which uses xml to configure ignite nodes and start them. We use Kubernetes Discovery for service discovery. I want to do automatic cluster activation by defining baseline topology using control.sh script

Re: Distributed Database as best choice for persistence

2018-06-21 Thread piyush
Thanks Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: SQL cannot find data of new class definition

2018-06-21 Thread slava.koptilin
Hello, > How should I write the "alter table Person" statement if I want to add a > new member > to class Address after the cache has been created? I don't think that there is a way to do it for nested objects, unfortunately. In that case, I think that you need to update your configuration [1]

Re: Using Persistent ignite queues

2018-06-21 Thread arunkjn
Hi Alex, I cannot get it to reproduce in my local environment yet. I will get back to you with thread dumps as soon as I encounter this issue again. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: SQL cannot find data of new class definition

2018-06-21 Thread slava.koptilin
Hello Cong, > when we add a field to the first-level value object and add a column to > the table dynamically, they can be connected automatically. Yes, that is correct. > So now the problem is when we add a field to the nested object and add a > column to the table, > they cannot be connected

RE: A bug in SQL "CREATE TABLE" and its underlying Ignite cache

2018-06-21 Thread slava.koptilin
Hi, > How can I write the “Create Table” statement to create columns for the two > members of Address in Table Person? If I am not mistaken, SQL tables cannot contain nested objects. Apache Ignite SQL engine allows executing SQL queries of nested fields. In case, a cache was configured via

Re: Continuous Query from client app

2018-06-21 Thread Pat Patterson
Fixed it! I needed to put my thread to sleep while the query was open, like this: try (QueryCursor> cur = cityCache.query(qry)) { // Iterating over existing data stored in cache. for (Cache.Entry e : cur) System.out.println("key=" + e.getKey() + ", val=" + e.getValue()); boolean done =

RE: A bug in SQL "CREATE TABLE" and its underlying Ignite cache

2018-06-21 Thread Cong Guo
So can I add a field to a nested object dynamically (without restarting the cluster) by using annotations? -Original Message- From: slava.koptilin [mailto:slava.kopti...@gmail.com] Sent: 2018年6月21日 10:44 To: user@ignite.apache.org Subject: RE: A bug in SQL "CREATE TABLE" and its

Re: Is there any way to remove a node from cluster safely?

2018-06-21 Thread aealexsandrov
Hi, Unfortunately, in your environment, you can't stop the node without losing the data. To stop one node safety you require at least one backup. BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Deadlock during cache loading

2018-06-21 Thread breischl
We've run into a problem recently where it appears our cache is deadlocking during loading. What I mean by "loading" is that we start up a new cluster in AWS, unconnected to any existing cluster, and then shove a bunch of data into it from Kafka. During this process it's not taking any significant

RE: SQL cannot find data of new class definition

2018-06-21 Thread Cong Guo
Hi, I don't think this feature requires any change in the SQL API. When we create a cache, even if the value object contains a nested object, the fields in the nested object can be mapped to columns in the table. Now we can do this using QueryEntity, for example, QueryEntity personEntity =

Re: setting baseline topology in kubernetes

2018-06-21 Thread aealexsandrov
Hi, All existing options of control.sh tool you can see here: https://apacheignite.readme.io/docs/baseline-topology#section-cluster-activation-tool To connect to some host and port you can use --host --port options (default values 127.0.0.1 and 11211). In case if you started the ignite in

Re: Service grid vs AWS Auto Scaling

2018-06-21 Thread Denis Magda
Hi, It depends on how complex your service would be. Considering that you're going to use some HTTP server to process your REST queries, I would go for the first approach and scale that HTTP server with AWS. -- Denis On Wed, Jun 20, 2018 at 5:53 PM smovva wrote: > I have ignite data grid and

Re: Distributed Database as best choice for persistence

2018-06-21 Thread Denis Magda
> > Why there exists an official plugin for Cassandra integration then ? To accelerate *existing* Cassandra deployments because Cassandra's in-memory options are not as good as Ignite. If it's a brand new application, then I would use Ignite persistence from the very beginning. Here is you can

running Apache Ignite in docker with cgroups

2018-06-21 Thread Andrew Fung
I can see from the docs for IgniteConfiguration that some properties auto-size based on visible OS resources. In docker, "visible" ends up being the host values, which will exceed any CPU/memory limits applied via cgroups to the container. I see on

RE: Deadlock during cache loading

2018-06-21 Thread Stanislav Lukyanov
Hi, Looks like you’re performing a cache operation (invoke()) from a StreamReceiver – this is not allowed. Check out this SO answer https://stackoverflow.com/questions/43891757/closures-stuck-in-2-0-when-try-to-add-an-element-into-the-queue. Stan From: breischl Sent: 21 июня 2018 г. 19:35 To:

A series of Apache Ignite meetups in New York

2018-06-21 Thread Denis Magda
Hey, Apache Ignite folks from New York! Coming to your roaring city to give three Ignite-based talks. Come over, let's meet in person. 1. Ignite vs. Cassandra for Hybrid Transaction/Analytical Applications: http://bit.ly/2JO0rxj 2. Ignite internals (hard-core!!!): http://bit.ly/2Icovny 3. Ignite

Re: And again... Failed to get page IO instance (page content is corrupted)

2018-06-21 Thread Olexandr K
Hi Team, Issue is still there in 2.5.0 Steps to reproduce: 1) start 2 servers + 2 clients topology 2) start load testing on client nodes 3) stop server 1 4) start server 1 5) stop server 1 again when rebalancing is in progress => and we got data corrupted here, see error below => we were not

Re: No writes to WAL files for the whole day?

2018-06-21 Thread Olexandr K
Yes, you are right, hashes for 00.wal and 01.wal are different before/after load test (last-modified-time still showing june 15th) BEFORE PS F:\ignite-wal\V_HP_LK_DCN01> get-filehash .\* Algorithm Hash - SHA256

Re: Ignite on RBAC enabled K8s cluster

2018-06-21 Thread Roman Guseinov
Hi Vishwas, Where your kubernetes cluster is located? Google Cloud, Openshift or somewhere else? I've checked your service account configs (with role and binding) on Google Cloud. It works well. Maybe the problem in your deployment file or in changes related to docker image. Here are the steps