Retrieve object from cache triggers ClassNotFoundException

2020-05-27 Thread xingjl6280
Hi team, I tried to put my data model into cache. The put itself works, but get error when I get it from cache. And it's same for using BinaryObject when I tried to deserialise it. Is there an easier way to just store and retrieve some simple plain data object? thank you /*Here's my code,

Re: Change schema on runtime Apache Ignite

2020-05-27 Thread Evgenii Zhuravlev
Hi Denis, I planned to address this issue at first, but then, after analysis, I decided to change other parts of CacheStore implementation only. As for this case, usually, in production, model changes are not so frequent and they also require new code or config changes, which also requires node

Re: Why does CacheBasedDataSet destroy the cache it is given

2020-05-27 Thread akorensh
Hi, This is the way CacheBasedDataset has been designed. It has been made w/an eye toward training the implemented ML models: https://apacheignite.readme.io/docs/model-updating You are free to create an implementation to fit your needs. Use these examples to test your design:

[ANNOUNCE] Apache Ignite 2.8.1 Released

2020-05-27 Thread Nikolay Izhikov
The Apache Ignite Community is pleased to announce the release of Apache Ignite 2.8.1. Apache Ignite® is an in-memory computing platform for transactional, analytical, and streaming workloads delivering in-memory speeds at petabyte scale. https://ignite.apache.org For the full list of changes,

Why does CacheBasedDataSet destroy the cache it is given

2020-05-27 Thread Courtney Robinson
Hi all, The current CacheBasedDataSet destroys the cache and all data along with it...there is no option to turn this off either. https://github.com/apache/ignite/blob/master/modules/ml/src/main/java/org/apache/ignite/ml/dataset/impl/cache/CacheBasedDataset.java#L189 /** {@inheritDoc} */

Re: Help with possible advanced Ignite questions during a meetup

2020-05-27 Thread Denis Magda
Hi Gaurav, That's right. You can find the reasoning here: http://apache-ignite-developers.2346864.n4.nabble.com/VOTE-Stop-Maintenance-of-Ignite-WebConsole-td47451.html - Denis On Tue, May 26, 2020 at 10:52 PM Gaurav Bajaj wrote: > Dear Denis, > > Does that mean only "open source/community"

Re: Unable to enable ML inference storage

2020-05-27 Thread Courtney Robinson
Hi Alex, Thanks for replying. We're definitely not loading it twice. The MLPluginProvider.onIgniteStart is being called being we can set the node to "active". To work around it we had to override that method and call it after... > public class HypiMLPluginProvider extends MLPluginProvider { > >

Re: Change schema on runtime Apache Ignite

2020-05-27 Thread Denis Magda
Evgeniy, I remember you were planning to address this particular limitation in the new version of CacheStore. Could you please join the thread and confirm this? Hopefully, there is already a ticket for this task. - Denis On Tue, May 26, 2020 at 11:14 PM manueltg89 <

Re: Ignite cluster node count restriction

2020-05-27 Thread Debdatta Bhattacharjee
Hello There, Thanks a lot for your response! Yes, we are already using Zookeeper as the cluster coordinator. Do we have any reference of any deployment with more than 100 nodes in production? On Tue, May 26, 2020 at 9:27 PM akorensh wrote: > Hi, > Ignite does not restrict cluster size, but

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

2020-05-27 Thread 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, then should I do something about it? Vote somewhere or something like that? Thanks for the workaround suggestion! :) Regards, Ivan On Wed, 27

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: Are stored in apache ignite cache in random order

2020-05-27 Thread Gaurav Bajaj
Hello, Ignite can be thought as any other db where sequence of write doesn't guarantee sequence of read. In case of querying data via sql, you can make sure data is returned in sequence by using order by query of particular column. In Ignite cache, data is stored across partition and which

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, > > I enabled debug

Re: Are stored in apache ignite cache in random order

2020-05-27 Thread Ilya Kasnacheev
Hello! Yes, the order of data is undefined. You can use SQL's ORDER BY clause to define it. I guess that's the only option for now. You can also iterate over keys (if you know them) in determined order. For example, if your key is a date, it would be trivial to iterate on it sequentially.

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 dependencies? > > >

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

2020-05-27 Thread rakshita04
Can we have the newer debian package for apache ignite with newer version of openjdk as dependencies? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Are stored in apache ignite cache in random order

2020-05-27 Thread 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 basis of hash value of the key)? When we are trying to fetch the whole data stored in cache it is

websession clustering with eviction mode

2020-05-27 Thread kay
Hello, I read Websession clustering page here. https://apacheignite-mix.readme.io/docs/web-session-clustering and I found this cache config for Eviction Policy. ... But I confusted because I understood cache Eviction policy for

Re: Hibernate L2 cache

2020-05-27 Thread Ravindra
Hi..could u give us details about the configuration of l2 cache as i was getting some issues? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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

2020-05-27 Thread Ivan Fedorenkov
Thank you, Alex! There are no other warning or error messages in ignite log around that time. Nodes were stable. Though I can provide a full log and the source code of the entity, I can see that the "pendingEvts" field of the " CacheContinuousQueryHandler" class is being used without a lock.

Re: Change schema on runtime Apache Ignite

2020-05-27 Thread manueltg89
Thanks for your response. I update my RDBMS manually also, but the problem is if for example I added a field called "telephone" Apache Ignite with write-through activated is not capable of write this field on RDBMS, How I can do this whitout rebooting? Thanks in advance. -- Sent from: