Minimal config for client nodes

2021-06-03 Thread ict.management.trexon
Hello everybody. I'm trying to figure out the minimum configuration to pass to the client nodes. I thought, client nodes don't need all configuration of data regions, configuration of memory, persistence, consistendId, etc. I thought, once I made a minimum configuration, where at most I indicated

Re: Minimal config for client nodes

2021-06-03 Thread ict.management.trexon
Thank you! My idea was to automate the configuration for the client nodes, so that the configuration was a mirror of that of the servers, minus the unnecessary stuff. I'll work it out a little bit then, thanks. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Scan query ClassNotFoundException

2021-06-11 Thread ict.management.trexon
Hi, why the scanquery return me this error? I've a cache , the POJO is a simple entity from jar dependency, it extend an abstract class who implement an interface that extends serializable. I've follow the example on page https://ignite.apache.org/docs/latest/key-value-api/using-scan-queries The Ig

Re: Scan query ClassNotFoundException

2021-06-11 Thread ict.management.trexon
I've also prepared a test with the simplest POJO possible, ad the ClassNotFoundException persist with scanquery: public class SimplePojo implements Serializable{ private static final long serialVersionUID = 1L; private Integer id; private String str1; public SimpleP

Re: Scan query ClassNotFoundException

2021-06-11 Thread ict.management.trexon
Incredible. By treating the cache with withKeepBinary (), obviously the IgniteBiPredicate also, now WORKS! However, such a solution is not normal. Below the classes and the search method: public class SimplePojo implements Serializable{ private static final long serialVersionUID = 1L;

Re: ClassNotFoundException in Ignite cron occasionally

2021-06-16 Thread ict.management.trexon
ATTENTION! look here: class org.apache.ignite.IgniteCheckedException: Failed to deserialize object .. com.dream11.watchlive.IgniteReconciliationCron$$Lambda$615/798682906 in the ignite guides https://ignite.apache.org/docs/latest/code-deployment/peer-class-loading they speak clearly: /When d

Re: Scan query ClassNotFoundException

2021-06-17 Thread ict.management.trexon
NO, POJO only client side YES, peerClassLoadingEnabled I think it has something to do with the classloader running the scan query . if in the signature of the "apply" method I pass the definition of the POJO class, it gives a ClassNotFoundException error; On the other hand, in the body of the

Re: Scan query ClassNotFoundException

2021-06-18 Thread ict.management.trexon
If I were to do this, it would mean that peerClassLoading cannot work with scan queries, as the class, POJO in this case, should be known on the server node side. Instead, like this, it works: @Override public boolean apply(Integer e1, BinaryObject e2) { SimplePojo sp = e2.deserialize(Simpl