Re: ignite web agent issue

2020-06-10 Thread Ilya Kasnacheev
Hello! Why can't you use fresh web agent? You can build it from source package or download from running Web Console. https://apacheignite-tools.readme.io/docs/build-and-deploy#building-ignite-web-agent Regards, -- Ilya Kasnacheev ср, 10 июн. 2020 г. в 13:19, itsmeravikiran.c : > Hi T

Re: Non Distributed Join between tables

2020-06-10 Thread Ilya Kasnacheev
Hello! Yes, if both nodes are in baseline then both nodes should have the same data. In fact, when you query your cluster, you should get the same result regardless of node which does the query. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 21:12, manueltg89 : > Hello Ilya!, > &g

Re: Query using IN Clause slow

2020-06-10 Thread Ilya Kasnacheev
Hello! We had an issue with IN clause, which we thought fixed on a general case, but if you have a complex condition it may still manifest. Does it change if you just use (product_name = 'Product1' OR product_name = 'Product2')? Regards, -- Ilya Kasnacheev ср, 10 июн. 2020 г. в 13:54

Re: UriDeployment Question

2020-06-09 Thread Ilya Kasnacheev
Hello! It's hard to say what happens here, especially considering 'osgi' in package name. I recommend putting all dependencies on all nodes as JARs and only peer loading your own code. Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 06:05, marble.zh...@coinflex.com < marble

Re: [External]Re: Segregating Ignite client discovery and heartbeat exchange on different networks

2020-06-09 Thread Ilya Kasnacheev
Hello! Why would you want to do that? Regards, -- Ilya Kasnacheev вт, 2 июн. 2020 г. в 08:32, Kamlesh Joshi : > Thanks Alex. Actually, I don't want to start two different clusters on > same machine, rather am looking to have a different networks for Ignite > clients discovery and

Re: Received metrics from unknown node

2020-06-09 Thread Ilya Kasnacheev
Hello! Unfortunately, I'm not sure. The node is considered out of topology so cluster will not monitor it. Regards, -- Ilya Kasnacheev вт, 9 июн. 2020 г. в 09:47, VeenaMithare : > Thanks Ilya. > No. Did not take a thread dump. Will do so if I observe this behaviour next > time. >

Re: Do I need Map entry classes in Ignite's classpath?

2020-06-09 Thread Ilya Kasnacheev
nodes do not need these classes to perform cache operations. Regards, -- Ilya Kasnacheev вт, 9 июн. 2020 г. в 04:40, Andrew Munn : > How can you update those k,v classes? Do you have to take the cluster > down or can you do a rolling upgrade somehow? > > On Mon, Jun 8, 2020 at

Re: Node is unable to join cluster because it has destroyed caches

2020-06-08 Thread Ilya Kasnacheev
Hello! It was disabled not just because of potential data loss but because the cache was resurrected on such start and could break cluster. Creating cache per operation and destroying afterwards is an anti-pattern, it can cause all sorts of issues and is better avoided. Regards, -- Ilya

Re: Ignite node log file setup

2020-06-08 Thread Ilya Kasnacheev
Hello! ${sys:} can use any system property which exists in the JVM. If you put your gridName (or consistentId) into system property, you can refer to it from both Ignite configuration (xml or otherwise) and log4j2 configuration. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 04:55, kay

Re: Received metrics from unknown node

2020-06-08 Thread Ilya Kasnacheev
Hello! Metrics were sent when node was already segmented by cluster, hence "unknown". Why it did not reconnect, I do not know. Did you collect a thread dump of this client node by chance? Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 09:53, VeenaMithare : > Hi all, > &g

Re: Non Distributed Join between tables

2020-06-08 Thread Ilya Kasnacheev
Hello! Do you have a reproducer SQL script to observe that? Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 10:46, manueltg89 : > I have three tables in Apache Ignite, each table has a affinity key to > other > table, when I make a join between tables with direct relations t

Re: Ignite SqlFieldQuery Unicode Characters Support

2020-06-08 Thread Ilya Kasnacheev
. ignite.sh should do that already. Make sure you are using the same on Windows and Linux. Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 14:31, Ravi Makwana : > Hi, > > We are using Apache ignite version 2.7 and we have one node cluster with > 150 caches out of 150 We have 1 cache wh

Re: Index usage on Joins

2020-06-08 Thread Ilya Kasnacheev
;merge_scan" */ GROUP BY __C0_0, __C0_1 2 rows selected (0,011 seconds) Is this what you wanted? First we filter pr and loc by varchar, then join this small result to facts using secondary index. Regards, -- Ilya Kasnacheev чт, 4 июн. 2020 г. в 16:58, njcstreet : > Hi, > > I am ev

Re: Data Consistency Question

2020-06-08 Thread Ilya Kasnacheev
connection every time. Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 09:17, adipro : > Can someone please help regarding this issue? > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: Do I need Map entry classes in Ignite's classpath?

2020-06-08 Thread Ilya Kasnacheev
Hello! If these classes are used as key or value types, then yes. Key/value types are not peer loaded. Otherwise, you just need to enable peer class loading. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 05:05, Andrew Munn : > Is there ever any reason for the classes of Objects being

Re: How to get POJOs in Python?

2020-06-05 Thread Ilya Kasnacheev
Hello! I think that people usually have few enough classes so they can define them by hand. Regards. -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 19:48, Andrew Munn : > That's very helpful. Thanks. So it appears if I want to put in an object > using Java and consume it using Python

Re: UriDeployment Exception

2020-06-05 Thread Ilya Kasnacheev
Hello! I guess you need to inherit all your service implementation from org.apache.ignite.services.Service Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 15:01, marble.zh...@coinflex.com < marble.zh...@coinflex.com>: > hi Evgenii, > > After serveral tried, seems in the Ja

Re: How to get POJOs in Python?

2020-06-05 Thread Ilya Kasnacheev
Hello! Please take a look at https://github.com/apache/ignite/blob/master/modules/platforms/python/examples/binary_basics.py Regards, -- Ilya Kasnacheev пт, 5 июн. 2020 г. в 01:38, Andrew Munn : > Thanks Ilya. I don't see anything in that post about registering the > binary type.

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-06-04 Thread Ilya Kasnacheev
Hello! If you have a lot of caches of uniform structure and low entry count, you should use cache groups. For unrelated caches you should not use cache groups. That's the rule of thumb. Regards, -- Ilya Kasnacheev чт, 4 июн. 2020 г. в 08:41, scottmf : > Thanks Ilya. I tried all y

Re: Suggest a better way to access a particular K-V store

2020-06-03 Thread Ilya Kasnacheev
Hello! Please try doing cursor.close() before return; Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 09:17, adipro : > Can someone please help regarding this issue? > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: How to get POJOs in Python?

2020-06-03 Thread Ilya Kasnacheev
Hello! Have you tried the following example: https://github.com/apache/ignite/blob/master/modules/platforms/python/examples/read_binary.py (yes, it mostly works with tables, but tables and POJOs are mapped in the same fashion). Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 18:54, Andrew

Re: How to define compound index with some field and _key

2020-06-03 Thread Ilya Kasnacheev
Hello! Yes, QueryEntity allows you to specify key fields / key field name. Then you can create index over these fields. Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 18:08, dilaz03 : > Hi, Ilya. > > Thank you for reply. My table is defined by QueryEntity and doesn't have > an

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-06-03 Thread Ilya Kasnacheev
Hello! This is expected :) I recommend decreasing the number of caches, grouping them into cacheGroup's so that they share metadata, or decreasing number of partitions in their affinity functions. Regards, -- Ilya Kasnacheev сб, 30 мая 2020 г. в 03:19, scottmf : > hi Ilya, I have reprodu

Re: connection refused

2020-06-03 Thread Ilya Kasnacheev
, -- Ilya Kasnacheev вт, 2 июн. 2020 г. в 22:19, Clay Teahouse : > Thanks Wesley, Alex. Attached is a snapshot of the client log. I don't see > anything on the ignite server side. > I am/was trying to do get data from a replicated cache. > > On Tue, Jun 2, 2020 at 10:36 AM Alexandr S

Re: How to define compound index with some field and _key

2020-06-03 Thread Ilya Kasnacheev
Hello! How is your table defined? _key is just an implicit alias for all of your primary key columns. So you should be listing those. Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 13:14, Dmitry Lazurkin : > Hello, > > I try to define compound index with some field and _key: >

Re: Message Queue Size

2020-06-03 Thread Ilya Kasnacheev
it is a very rare occurrence, we don't really have any recommendations. Regards. -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 12:46, prudhvibiruda : > Hi , > We are using 2.8.0 version. And I still get this warning. Can you please > explain the significance of this property and what is the

Re: ignite node heap size

2020-06-03 Thread Ilya Kasnacheev
Hello! I'm not completely sure, it surely depends on your use case (such as SQL, which will hold result sets on heap). 2G of heap is usually enough for a server node. Regards, -- Ilya Kasnacheev ср, 3 июн. 2020 г. в 04:44, kay : > Hello, I have 4 nodes for server node and I'd l

Re: Ignite 2.8.0: ConcurrentModificationException on attempt to do put into cache

2020-06-02 Thread Ilya Kasnacheev
Hello! I have merged this fix to master. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 16:14, Ivan Fedorenkov : > Hello, Ilya! > > Yes, there is an existing ticket and I thought that it hasn’t been merged > yet for a reason. If it was just missed and it should be merged, the

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread Ilya Kasnacheev
Hello! You need assembly because assembly collects puts files in libs/. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 13:52, rakshita04 : > i do not need to the zip of bin files. > Basically i want to build modules/core and i want to put the output jar > files inside /module/li

Re: Retrieve object from cache triggers ClassNotFoundException

2020-05-29 Thread Ilya Kasnacheev
Hello! It should be working. Can you share a reproducer? Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 04:53, xingjl6280 : > Hi Alex, > > Sorry, seems I didn't put my question clearly. > > I tried ignite.cache().get() to retrieve my object, but got error > ClassNotFound

Re: Slow query from PHP PDO with auhentication enabled

2020-05-29 Thread Ilya Kasnacheev
Hello! I can see how opening new connections may become slower. It is advised to pool connections. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 12:06, manueltg89 : > As I've said in my previous message the problem is to open connection with > cluster, when I've enabled authenti

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-29 Thread Ilya Kasnacheev
Hello! Normally this is done by mvn initialize -Prelease, then all the files will be in target/apache-ignite-VERSION-bin directory and corresponding zip file. Regards, -- Ilya Kasnacheev пт, 29 мая 2020 г. в 10:37, rakshita04 : > Thanks Ilya. > I am able to build the binaries using

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-28 Thread Ilya Kasnacheev
Hello! No, it will not build everything, since there are dependencies to ignite-core and ignite-core is not enough. Regards, -- Ilya Kasnacheev чт, 28 мая 2020 г. в 16:49, rakshita04 : > Thanks Ilya. > I will try this command. > But what if i go to module/core and run below comma

Re: how to build only apache ignite core binaries and jar files using maven

2020-05-28 Thread Ilya Kasnacheev
Hello! I recommend to try doing the following: mvn clean install -am -pl :ignite-core,:ignite-spring,:ignite-rest-http -DskipTests -Dmaven.javadoc.skip=true -Dmaven.scaladoc.skip=true Regards, -- Ilya Kasnacheev чт, 28 мая 2020 г. в 16:31, rakshita04 : > Hi Team, > > We want to b

Re: websession clustering with eviction mode

2020-05-28 Thread Ilya Kasnacheev
Hello! You can enable page eviction if you are afraid to run out of data region. On-heap cache only complements off-heap storage so it will take more space, not less. It will evict from on-heap but keep entries off-heap. Regards, -- Ilya Kasnacheev чт, 28 мая 2020 г. в 10:20, kay : > Th

Re: Ignite 2.8.0: ConcurrentModificationException on attempt to do put into cache

2020-05-27 Thread Ilya Kasnacheev
Hello! I can see the following ticket: https://issues.apache.org/jira/browse/IGNITE-5214 Since it was never resolved, I think the proper workaround will be disabling DEBUG logging, especially for org.apache.ignite.internal.processors.cache.query.continuous Regards, -- Ilya Kasnacheev ср, 27

Re: websession clustering with eviction mode

2020-05-27 Thread Ilya Kasnacheev
Hello! I think that web session clustering will automatically remove expired sessions from cache, and you should manage session alive time via your servlet container. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 10:21, kay : > Hello, I read Websession clustering page here. > &

Re: Binary recovery for a very long time

2020-05-27 Thread Ilya Kasnacheev
Hello! We use H2 engine and we need to create tables within H2. We're not touching much data in the process. I'm not sure this is a factor of slowdown since it fits in 2s here. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 04:20, 38797715 <38797...@qq.com>: > Hi, > >

Re: Are stored in apache ignite cache in random order

2020-05-27 Thread Ilya Kasnacheev
. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 11:49, rakshita04 : > Hi Team, > > If we use composite key as key to store data in apache ignite cache as > pair. > Is the data stored in exact same sequence as we write it in? or its stored > in some random order(may be on the b

Re: apache-ignite_2.8.0-1_all.deb package has older version of openjdk as dependency

2020-05-27 Thread Ilya Kasnacheev
Hello! You can build debian package from apache-ignite source deliverable. There you can fix the dependency. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 11:51, rakshita04 : > Can we have the newer debian package for apache ignite with newer version > of > openjdk as dep

Re: Continuous Query on a varying set of keys

2020-05-26 Thread Ilya Kasnacheev
Hello! Yes, using other continuous query to watch changes of this set looks OK. Of course there will be some yak shaving to do. Regards, -- Ilya Kasnacheev вт, 26 мая 2020 г. в 12:28, zork : > Thanks. > So I can think of two ways using which such a set could be maintained by > the

Re: Continuous Query on a varying set of keys

2020-05-26 Thread Ilya Kasnacheev
urn set.contains(e.getKey()); } }; } }); Please note that it is not advisable to do cache operations from filter, so you should probably do that in background by e.g. registering a service. Regards, -- Ilya Kasnach

Re: Scheduling Cache Refresh

2020-05-25 Thread Ilya Kasnacheev
Hello! You will need to write your own code for that and expose it via compute tasks or service. Then you can invoke these via REST. Regards, -- Ilya Kasnacheev вт, 19 мая 2020 г. в 20:52, nithin91 < nithinbharadwaj.govindar...@franklintempleton.com>: > Hi > > Thanks

Re: Deploying Ignite Code

2020-05-25 Thread Ilya Kasnacheev
Hello! It is usually enough to include just the POJO files and their direct dependencies. Regards, -- Ilya Kasnacheev вс, 24 мая 2020 г. в 22:11, nithin91 < nithinbharadwaj.govindar...@franklintempleton.com>: > Can anyone please help me with your inputs > > > > -- >

Re: join question

2020-05-25 Thread Ilya Kasnacheev
Hello! Can you please share a runnable reproducer project exposing this issue? Regards, -- Ilya Kasnacheev пт, 22 мая 2020 г. в 19:54, narges saleh : > Sorry for the late reply. > I have defined the affinity via cacheKeyConfiguration in ignite config > file and it is working fine,

Re: How Ignite launch the ./libs Jar

2020-05-22 Thread Ilya Kasnacheev
Hello! Please check the IgniteConfiguration.setServiceConfiguration() method. Regards, -- Ilya Kasnacheev чт, 21 мая 2020 г. в 15:55, marble.zh...@coinflex.com < marble.zh...@coinflex.com>: > thanks Ilya, lifecyclebean just verified works. > Can you share the "

Re: Using putAll(TreeMap) with BinaryObjects

2020-05-21 Thread Ilya Kasnacheev
Hello! I think it needs not be present on server, but I recommend testing that :) Regards, -- Ilya Kasnacheev чт, 21 мая 2020 г. в 15:59, Grigory.D : > Question is still open: > In case of using TreeMap with Comparator provided to constructor, should > this comparator be present

Re: Binary recovery for a very long time

2020-05-21 Thread Ilya Kasnacheev
Hello! 1. I guess that WAL is read. 2. Unfortunately we do not have truly graceful exit as far as my understanding goes. Regards, -- Ilya Kasnacheev вт, 19 мая 2020 г. в 10:22, 38797715 <38797...@qq.com>: > Hi, > > the following log message: > > [2020-05-12T18:1

Re: Suggest a better way to access a particular K-V store

2020-05-21 Thread Ilya Kasnacheev
Hello! Is it possible that you are not closing your JDBC result sets (or corresponding Ignite QueryCursor)? It's actually strange. The query in question seem rather bulky. It's not expected that it is sufficiently fast for you. Regards, -- Ilya Kasnacheev вт, 19 мая 2020 г. в 20:36, adipro

Re: How Ignite launch the ./libs Jar

2020-05-21 Thread Ilya Kasnacheev
Hello! You can configure Ignite to automatically register service on start-up or call lifecycle listener: https://apacheignite.readme.io/docs/ignite-life-cycle#lifecyclebean Regards, -- Ilya Kasnacheev чт, 21 мая 2020 г. в 15:28, marble.zh...@coinflex.com < marble.zh...@coinflex.

Re: Using putAll(TreeMap) with BinaryObjects

2020-05-21 Thread Ilya Kasnacheev
Hello! It was discussed previously but did not get anywhere http://apache-ignite-developers.2346864.n4.nabble.com/Let-s-make-BinaryObjectImpl-and-CacheKeyObject-Comparable-td46028.html Regards, -- Ilya Kasnacheev чт, 21 мая 2020 г. в 08:16, : > Hi, > > I did implement

Re: How Ignite launch the ./libs Jar

2020-05-21 Thread Ilya Kasnacheev
Hello! For example, method 'compute' has last argument as 'T arg' which is passed to task. Please see https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/computegrid/ComputeTaskMapExample.java for example. Regards, -- Ilya Kasnacheev чт, 21 мая 2020

Re: ignite node ports

2020-05-21 Thread Ilya Kasnacheev
ally binding?? > > 나의 iPhone에서 보냄 > > 2020. 5. 18. 오후 10:27, Ilya Kasnacheev 작성: > >  > Hello! > > I have to correct, 11211 is not used by thick JDBC driver (Which is a > regular client node), instead it is used by control.sh tool mostly. And > some other lega

Re: Scheduling Cache Refresh

2020-05-19 Thread Ilya Kasnacheev
Hello! See below inline: пт, 15 мая 2020 г. в 23:59, nithin91 < nithinbharadwaj.govindar...@franklintempleton.com>: > Hi > > Although this seems to be working. > I have following queries with this approach.Can you please > provide your inputs/suggestions. > > > > We are

Re: join question

2020-05-19 Thread Ilya Kasnacheev
Hello! It is possible that Data Streamer is not actually aware of affinity column of your table. Can you try marking it with @AffinityKeyMapped? Regards, -- Ilya Kasnacheev вт, 19 мая 2020 г. в 01:48, narges saleh : > It seems the issue exist only if one uses data streamer with binaryobj

Re: Apache ignite evolvable object

2020-05-18 Thread Ilya Kasnacheev
) will not touch them. Regards, -- Ilya Kasnacheev сб, 2 мая 2020 г. в 13:50, Hemambara : > Does it save additional bytes by default or do we have to implement > binarylable, if so do you have any example. > > If it does by default, does that mean, let's say if I send data from n

Re: Apache Ignite Persistence Issues/Warnings

2020-05-18 Thread Ilya Kasnacheev
Hello! In both cases Ignite will walk through the segments it needs, and adjust persistence for any data that was updated in already completed operations. Archive or no archive is a logistical choice, as far as my understanding goes. Regards, -- Ilya Kasnacheev вт, 12 мая 2020 г. в 07:28

Re: Reloading of cache not working

2020-05-18 Thread Ilya Kasnacheev
Hello! Yes, as it was mentioned on the list, it is not going to replace already existing keys' values. Regards, -- Ilya Kasnacheev ср, 13 мая 2020 г. в 08:01, Akash Shinde : > Hi, > My question is specifically for clo.apply(key, data) that I invoked in > CacheStoreAdapter.

Re: IOException in log and reference for dataRegion configure

2020-05-18 Thread Ilya Kasnacheev
Hello! These are for some Ignite internal caches. They have sensible small default value, you do not need to tune them. Regards, -- Ilya Kasnacheev чт, 14 мая 2020 г. в 10:59, kay : > Hello again :) > > I read memory configuration section. > > https://apacheignite.readme

Re: join question

2020-05-18 Thread Ilya Kasnacheev
Hello! Fails how? Is the result set incorrect? Any specific error message? Please share details. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 16:49, narges saleh : > Hi All, > I have encountered a puzzling join case. > I have 3 tables on a cluster of two ignite server nodes

Re: Binary recovery for a very long time

2020-05-18 Thread Ilya Kasnacheev
Hello! Direct IO module is experimental and should not be used unless performance is tested first, in your specific use case. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 16:47, 38797715 <38797...@qq.com>: > Hi, > > If direct IO is disabled, the startup speed will be dou

Re: About index inline size of primary key

2020-05-18 Thread Ilya Kasnacheev
s, should this attribute be configured with a > relatively large value at the beginning, such as 40 and 50? What's the > negative impact? Instead of waiting for notifications from the log. > 在 2020/5/18 下午9:45, Ilya Kasnacheev 写道: > > Hello! > > I think this is correct. Moreover,

Re: About index inline size of primary key

2020-05-18 Thread Ilya Kasnacheev
Hello! I think this is correct. Moreover, setting this property on a part of cluster may lead to problems of its own. It is recommended to set ot before deploying a cluster. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 16:40, 18624049226 <18624049...@163.com>: > Hi Ilya, >

Re: ignite node ports

2020-05-18 Thread Ilya Kasnacheev
Hello! I have to correct, 11211 is not used by thick JDBC driver (Which is a regular client node), instead it is used by control.sh tool mostly. And some other legacy tools. Regards, -- Ilya Kasnacheev ср, 13 мая 2020 г. в 17:44, Evgenii Zhuravlev : > Hi, > > Ports are descr

Re: About index inline size of primary key

2020-05-18 Thread Ilya Kasnacheev
Hello! Yes, it will have global impact on all indexes on primary keys, and all indexes created without INLINE SIZE clause. Regards, -- Ilya Kasnacheev чт, 14 мая 2020 г. в 16:53, 38797715 <38797...@qq.com>: > Hi, > > I see this property. > If this property is configure

Re: BinaryObject field is not update

2020-05-18 Thread Ilya Kasnacheev
), such as, in this case, BinaryObjectImpl.createSchema().fieldIds() and BinaryObjectImpl.field(int fieldId). I recommend putting any variable properties in a map field as opposed to re-building binary object on the fly. Regards, -- Ilya Kasnacheev сб, 9 мая 2020 г. в 18:46, takumi : > Hello. As I

Re: Continuous Query on a varying set of keys

2020-05-18 Thread Ilya Kasnacheev
Hello! Remote filter is code. It can execute arbitrary logic. It can adjust to what it needs to filter, change its own behavior with time. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 15:40, zork : > Hi Ilya, > Thanks for your response. > I'm aware of remote filters but can thes

Re: Streamer with overwrite option

2020-05-18 Thread Ilya Kasnacheev
Hello! I think it is somewhat slower, but not by much, and it certainly does not wipe all the benefits of using Data Streamer. It's OK to use. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 01:36, narges saleh : > Hi All, > > I am going to get updates for the existing records in

Re: Unsubscribe

2020-05-18 Thread Ilya Kasnacheev
Hello! Please write to user-unsubscr...@ignite.apache.org, etc, to unsubscribe from lists. Regards, -- Ilya Kasnacheev пн, 18 мая 2020 г. в 16:13, ANKIT SINGHAI : > > > -- > Regards, > Ankit Singhai >

Re: How many Caches/Tables we can create/query in parallel?

2020-05-18 Thread Ilya Kasnacheev
Hello! I just wanted to add that you can't create tables in parallel. Table creation is sequential since it involves a Partition Map Exchange, which is a blocking operation. It can become a bottleneck quickly. Regards, -- Ilya Kasnacheev пт, 15 мая 2020 г. в 07:24, adipro : > We crea

Re: java.sql.SQLException: Schema change operation failed: Thread got interrupted while trying to acquire table lock.

2020-05-18 Thread Ilya Kasnacheev
Hello! I can see how such scenario can expose issues in Apache Ignite's SQL. Can you please create a JIRA ticket with this code? Regards, -- Ilya Kasnacheev сб, 16 мая 2020 г. в 12:51, yangjiajun <1371549...@qq.com>: > Hello.Sorry for so late to reply.I have got a reproducer.

Re: Ignite.cache.loadcache.Does this method do Increamental Load?

2020-05-18 Thread Ilya Kasnacheev
Hello! You can use Data Streamer with allowOverride flag set can do incremental load with keys replacement. Load cache is tailored for initial loading only. Of course, you will have to write your own code around Data Streamer. Regards, -- Ilya Kasnacheev пт, 15 мая 2020 г. в 18:53, nithin91

Re: Continuous Query on a varying set of keys

2020-05-18 Thread Ilya Kasnacheev
, updates will not flow over the network unless this is actually needed. Regards, -- Ilya Kasnacheev вс, 17 мая 2020 г. в 22:14, zork : > Hi, > > We have a table in ignite cache which would have say around 1Mn entries at > anytime. Now we wish to listen on updates on a subset of these k

Re: Calculation of Size

2020-05-18 Thread Ilya Kasnacheev
deally you should have more off-heap than the amount of data you are having, this way there will not be page eviction or forced checkpoints. Regards, -- Ilya Kasnacheev вс, 17 мая 2020 г. в 16:51, adipro : > I have persistence enabled. How much size do I need for Off-Heap if I wish > not t

Re: Cant connect distributed servers

2020-05-18 Thread Ilya Kasnacheev
Hello! I think this is because the other node (second server) cannot ping the first node (server1) via communication (port 47100 is closed or connection is blocked). Please provide complete log from both nodes. Regards, -- Ilya Kasnacheev вс, 17 мая 2020 г. в 21:13, Vasily Laktionov : >

Re: How much heap to allocate

2020-05-15 Thread Ilya Kasnacheev
Hello! Yes, Ignite server node will send batches of data to client. Regards, -- Ilya Kasnacheev ср, 19 сент. 2018 г. в 08:17, Ray : > Hi Mikhail, > > Can you explain how is lazy loading working when I use this sql "select * > from table" to query a big table which don't

Re: Suggest a better way to access a particular K-V store

2020-05-14 Thread Ilya Kasnacheev
Hello! Have you tried adding an index on URLS (APPNAME_ID, SCORE DESC)? (or ASC if you are going to order ascending) Regards, -- Ilya Kasnacheev вт, 12 мая 2020 г. в 13:42, adipro : > We've already tried that but we are receiving these errors. We are using > index in a correct way onl

Re: Scheduling Cache Refresh

2020-05-14 Thread Ilya Kasnacheev
Hello! Unfortunately I don't see any attachment to your message. Can you please share a link? Regards, -- Ilya Kasnacheev чт, 14 мая 2020 г. в 10:09, nithin91 < nithinbharadwaj.govindar...@franklintempleton.com>: > Hi > > Attached the Sample Spring Boot Application that i a

Re: Suggest a better way to access a particular K-V store

2020-05-12 Thread Ilya Kasnacheev
Hello! Ignite SQL table with index on score descending would fit it nicely. You will have to convert JSON into BinaryObject or just extract score as a column. Regards, -- Ilya Kasnacheev пн, 11 мая 2020 г. в 19:11, adipro : > The K is key with type String. > The V is the value wit

Re: How can I delete entries from a table using pyignite?

2020-05-07 Thread Ilya Kasnacheev
Hello! 1) Are you sure that your DELETE actually gets to run? 2) I think you need to stop SELECT iteration before running more queries, including DELETE. Try closing cursor explicitly. Regards, -- Ilya Kasnacheev вт, 5 мая 2020 г. в 11:12, Jueverhard : > Ok, I think the problem comes f

Re: apache-ignite_2.8.0-1_all.deb package has older version of openjdk as dependency

2020-05-06 Thread Ilya Kasnacheev
Hello! There is no reason to depend on Java 8 specifically. Regards, -- Ilya Kasnacheev ср, 6 мая 2020 г. в 15:27, rakshita04 : > are you talking about oracle-java8-installer? mentioned in control file of > your package? > actually we are able to manually compile platform/cpp c

Re: apache-ignite_2.8.0-1_all.deb package has older version of openjdk as dependency

2020-05-06 Thread Ilya Kasnacheev
Hello! Come to think of it, maybe we can just depend on java-sdk meta-package? Can you file an IGNITE JIRA ticket about that? Regards, -- Ilya Kasnacheev ср, 6 мая 2020 г. в 11:58, rakshita04 : > Thanks Petr. > When can we expect 2.8.1 .deb package with newer openjdk depe

Re: Issue in Distributed joins

2020-05-06 Thread Ilya Kasnacheev
Hello! Since there's no immediate response, I have filed a ticket: https://issues.apache.org/jira/browse/IGNITE-12984 Regards, -- Ilya Kasnacheev пн, 20 апр. 2020 г. в 18:38, DS : > Hello, Any update on this from SQL people? > > > > > -- > Sent from: http://apache-

Re: Enabling default persistence on existing ignite cluster

2020-05-04 Thread Ilya Kasnacheev
Hello! Nice to hear! They are also responsible for the data region on which to place those partitions :) Regards, -- Ilya Kasnacheev пн, 4 мая 2020 г. в 16:50, Sebastian Sindelar < sebastian.sinde...@nexus-ips.de>: > Hallo. > > > > Thanks for the suggestion. Just tr

Re: Group eviction in progress for a very long time

2020-05-04 Thread Ilya Kasnacheev
Hello! Can you search the previous logs for any exceptions coming from Ignite internals? Maybe something did indeed break down. Regards, -- Ilya Kasnacheev пн, 4 мая 2020 г. в 16:22, 18624049226 <18624049...@163.com>: > Hi Ilya, > > It's hard to say why rebalancing is not ov

Re: Query timeout

2020-05-04 Thread Ilya Kasnacheev
Hello! Turns out, "?queryTimeout=" will only be available in 2.9: https://issues.apache.org/jira/browse/IGNITE-12462 However, you can already use (Statement)ps.setQueryTimeout(1), it works in your case as well (checked on 2.8). Regards, -- Ilya Kasnacheev вт, 24 мар. 2020

Re: REPLICATED CACHE ISSUES WHEN UPDATED THROUGH JDBC THIN CLIENT - 2.7.6

2020-05-04 Thread Ilya Kasnacheev
, -- Ilya Kasnacheev сб, 2 мая 2020 г. в 21:08, VeenaMithare : > HI, > > I am running a 3 server node cluster on Ignite 2.7.6 . > > 1. I have started a cache ( REPLICATED ) with native persistence enabled > with the below configuration . > > >cacheCon

Re: Group eviction in progress for a very long time

2020-05-04 Thread Ilya Kasnacheev
me #'s of partitions every time, or do they change? Any irregularities in your logs other than this one? Regards, -- Ilya Kasnacheev вс, 3 мая 2020 г. в 04:49, 18624049226 <18624049...@163.com>: > Hi community, > > Two nodes are added to a running cluster with persistence enab

Re: Ignite Upgrade 2.5.6 to 2.8.0 - data loss

2020-05-04 Thread Ilya Kasnacheev
you, and then trying to work around it. Regards, -- Ilya Kasnacheev сб, 2 мая 2020 г. в 22:52, Sriveena Mattaparthi < sriveena.mattapar...@ekaplus.com>: > We have been receiving quick support till now on any queries raised. > > Request to please guide us in this also ASAP as we

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-05-04 Thread Ilya Kasnacheev
512M is a tiny size for data region, try increasing it. Regards, -- Ilya Kasnacheev пт, 1 мая 2020 г. в 23:08, scottmf : > out.multipart-aa > < > http://apache-ignite-users.70518.x6.nabble.com/file/t1632/out.multipart-aa> > > out.multipart-ab > < > http

Re: JDBC Connection Pooling

2020-05-04 Thread Ilya Kasnacheev
Hello! In streaming mode, INSERTs should not block, so you may reuse the connection. Still, it would not hurt to benchmark both approaches, if you can. Regards, -- Ilya Kasnacheev сб, 2 мая 2020 г. в 01:42, narges saleh : > Hi All, > If I use client connection configuration

Re: Ignite.net caching technique / recommendations

2020-05-04 Thread Ilya Kasnacheev
to partition data on ID or some other evenly-distributed value. Regards, -- Ilya Kasnacheev сб, 2 мая 2020 г. в 12:16, Sudhir Patil : > Hello, > > Use case is in given cluster of machines (e.g. 3 to 4), I want to store > all cache item with key name users on one machine, anothe

Re: Event Listners when we use DataStreamer

2020-05-01 Thread Ilya Kasnacheev
you share it as a small runnable project? Are you sure you install your listener correctly? Regards, -- Ilya Kasnacheev пт, 1 мая 2020 г. в 15:06, krkumar24061...@gmail.com < krkumar24061...@gmail.com>: > Hi Ilya - I have tried that but not firing the event. But it does fire

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-05-01 Thread Ilya Kasnacheev
behavior if eviction can't find any page to evict, if all data pages are evicted already and only metadata pages remain, ones that cannot be evicted. Regards, -- Ilya Kasnacheev чт, 30 апр. 2020 г. в 22:14, scottmf : > Hi Ilya, I'm confused. What do you see? I am posting a stack that end

Re: Cluster went down after "Unable to await partitions release latch within timeout" WARN

2020-05-01 Thread Ilya Kasnacheev
Hello! This description sounds like a typical hanging Partition Map Exchange, but you should be able to see that in logs. If you don't, you can collect thread dumps from all nodes with jstack and check it for any stalling operations (or share with us). Regards, -- Ilya Kasnacheev пт, 1 мая

Re: Ignite.net caching technique / recommendations

2020-04-30 Thread Ilya Kasnacheev
Hello! I think it is doable to some extent, but I would like to hear why you want that. Regards, -- Ilya Kasnacheev чт, 30 апр. 2020 г. в 13:21, Sudhir Patil : > Hi All, > > Use case is to store a cache item each on specific machine within cluster. > > What are

Re: Random2LruPageEvictionTracker causing hanging in our integration tests

2020-04-30 Thread Ilya Kasnacheev
Hello! In your stack trace I don't see a single 'org.apache.ignite' line. Why do you think Apache Ignite is to blame here? Regards, -- Ilya Kasnacheev ср, 29 апр. 2020 г. в 22:26, scottmf : > Hi Anton, Just to be clear, the stack trace is from a thread dump that I > took while the p

Re: Backups not being done for SQL caches

2020-04-30 Thread Ilya Kasnacheev
Hello! Do you have persistence? If so, are you sure that all 3 of your nodes are in baseline topology? Regards, -- Ilya Kasnacheev чт, 30 апр. 2020 г. в 16:09, Courtney Robinson : > We're continuing migration from using the Java API to purley SQL and have > encountered a situation

Re: Event Listners when we use DataStreamer

2020-04-30 Thread Ilya Kasnacheev
Hello! Does this change if you set allowOverride(true) on Data Streamer? Regards, -- Ilya Kasnacheev чт, 30 апр. 2020 г. в 16:29, krkumar24061...@gmail.com < krkumar24061...@gmail.com>: > Hi Guys - When I am adding entries into cache through DataStreamer.addData, > does it invo

Re: EPOCH seconds in future!

2020-04-28 Thread Ilya Kasnacheev
Hello! Yes, you are right, according to https://issues.apache.org/jira/browse/IGNITE-11472 TIMESTAMP WITH TIME ZONE not supported by Ignite. I think you will have to work around this quirky behavior. I have left a comment about this issue specifically. Regards, -- Ilya Kasnacheev пн, 27 апр

<    2   3   4   5   6   7   8   9   10   11   >