Re: Continuous Query Questions

2020-04-01 Thread narges saleh
So, if I define the CQ as a service, and the node crashes, wouldn't ignite start a new service with CQ already registered, say if the CQ registration is in service init? I can do initial query at the as well. On Wed, Apr 1, 2020 at 7:33 PM Evgenii Zhuravlev wrote: > Well, with this use case,

Re: Continuous Query Questions

2020-04-01 Thread Evgenii Zhuravlev
Well, with this use case, if one of the nodes goes down, there is always a chance to lost notifications. I don't think that it's possible to recover lost notifications with out of the box solution, but if you will be able to track the last processed notification and store update time in entries,

Re: Continuous Query Questions

2020-04-01 Thread narges saleh
Thanks Evgenii for the recommendation and the heads up. Is there a way to recover the lost notifications or even know if a notification is lost? On Wed, Apr 1, 2020 at 12:15 PM Evgenii Zhuravlev wrote: > Hi, > > 1) I would recommend checking ContinouousQuery.setLocal: >

Re: Continuous Query Questions

2020-04-01 Thread Evgenii Zhuravlev
Hi, 1) I would recommend checking ContinouousQuery.setLocal: https://www.gridgain.com/sdk/ce/latest/javadoc/org/apache/ignite/cache/query/Query.html#setLocal-boolean-. Please check if it fits your requirements. 2) You will need to do this in a separate thread, because cache operations shouldn't

Re: Docker configuration filepath

2020-04-01 Thread Evgenii Zhuravlev
Hi, Are you sure that you have /home/brieg/Documents/INFO/ApacheIgniteInstall/apache-ignite-2.7.6-bin/ inside the docker image? It looks like an address on your machine. Evgenii ср, 1 апр. 2020 г. в 04:11, bribridnl : > Hello everyone, I'm getting with Apache Ignite and Docker and I can't >

Re: Using SQL cache with javax cache api

2020-04-01 Thread Evgenii Zhuravlev
Hi, I'm not sure why wrap_key doesn't work here, but wey_type should solve this issue. Evgenii вт, 31 мар. 2020 г. в 23:10, Dominik Przybysz : > Hi, > I created SQL cache, but sometimes I want to use it via javax.cache.api > and it doesn't work. > > I created cache with SQL: > > CREATE TABLE

Re: Cache replication

2020-04-01 Thread Evgenii Zhuravlev
Hi, NodeFilter was created for this purpose: https://www.javadoc.io/doc/org.apache.ignite/ignite-core/2.1.0/org/apache/ignite/util/AttributeNodeFilter.html Here is the example:

Re: Cache replication

2020-04-01 Thread Vasily Laktionov
See some views but no answers. Updated my question to clarify it. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Persistent dataregion config

2020-04-01 Thread ezhuravlev
Hi Andrey, Sorry, Looks like mixed up eviction policy for data region and Expiry Policy. Eviction Policy shouldn't work with persistence, it works only for in memory data regions. Evgenii -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Comma in field is not supported by COPY command?

2020-04-01 Thread 18624049226
Hi community, CREATE TABLE test(a int,b varchar(100),c int,PRIMARY key(a)); a.csv: 1,"a,b",2 COPY FROM '/data/a.csv' INTO test (a,b,c) FORMAT CSV; The copy command fails because there is a comma in the second field,but this is a fully legal and compliant CSV format,how can I avoid this

Docker configuration filepath

2020-04-01 Thread bribridnl
Hello everyone, I'm getting with Apache Ignite and Docker and I can't resolve that error : "Failed to start grid: Spring XML configuration path is invalid: /home/brieg/Documents/INFO/ApacheIgniteInstall/apache-ignite-2.7.6-bin/config/default-config.xml. Note that this path should be either

Re: QueryParallelism

2020-04-01 Thread Alessandro Fogli
Hello,Thanks for your answer! I would like to run a TPC-H benchmark but none of the queries uses more than a single core. I used these indices: CREATE INDEX i_n_regionkey ON nation (n_regionkey);CREATE INDEX i_s_nationkey ON supplier (s_nationkey);CREATE INDEX i_c_nationkey ON customer

Re: DataRegionConfiguration update

2020-04-01 Thread Ilya Kasnacheev
Hello! It should not be possible to change configuration of node when data is already present. Moreover, page eviction settings are supposed to be ignored when persistence is enabled: https://apacheignite.readme.io/docs/evictions Page replacement is prepared instead. I recommend filing an issue

Cache replication

2020-04-01 Thread Vasily Laktionov
Hi all, In our topology we have 4 nodes. Each node started in separate VM. We have T1 and T2 replicated tables in each node. We want to replicate T1 between all nodes and T2 between node1 and node2. Is there any way to do that? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: QueryParallelism

2020-04-01 Thread Ilya Kasnacheev
Hello! Can you please specify what is the operation that you want to parallelize? Are you sure it uses index? Please note that you may also need to increase query thread pool size since its threads are used up by parallelization. Regards, -- Ilya Kasnacheev ср, 1 апр. 2020 г. в 05:22,

Re: Ignite Web Session Clustering with standalone node

2020-04-01 Thread Stephen Darlington
The way you connect to a single server or a cluster is the same. You need to define a “finder” and the way you do that — well, one of the ways — is to configure it in an XML file (https://apacheignite.readme.io/docs/tcpip-discovery ). In

Ignite Web Session Clustering with standalone node

2020-04-01 Thread kay
I'd like use web session clustering in my application. I checked a page https://apacheignite-mix.readme.io/docs/web-session-clustering and There is no way to set standalone ignite nodes.. only like this ... IgniteConfigurationFilePath config/default-config.xml how to set server ip:port

Using SQL cache with javax cache api

2020-04-01 Thread Dominik Przybysz
Hi, I created SQL cache, but sometimes I want to use it via javax.cache.api and it doesn't work. I created cache with SQL: CREATE TABLE IF NOT EXISTS Person6 ( id varchar primary key , city_id int, name varchar, age int, company varchar ) WITH