Hello!
Key/value classes need to be manually deployed to server node but the
listener code itself may be peer loaded from client.
Regards,
--
Ilya Kasnacheev
пт, 18 июн. 2021 г. в 10:31, ict.management.trexon <
ict.management.tre...@gmail.com>:
> If I were to do this, it would mean that peerC
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
Hello!
I guess that SimplePojo class is loaded in a different classloader which is
not Ignite's classloader. You can start IgniteConfiguration with
.setClassLoader(SimplePojo.class.getClassLoader());
Regards.
--
Ilya Kasnacheev
чт, 17 июн. 2021 г. в 16:48, ict.management.trexon <
ict.managemen
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
Hello!
Do you actually have the POJO class on the server side? Do you have peer
class loading enabled?
Regards,
--
Ilya Kasnacheev
пт, 11 июн. 2021 г. в 11:37, ict.management.trexon <
ict.management.tre...@gmail.com>:
> Hi, why the scanquery return me this error?
> I've a cache , the POJO is
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;
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