I started one ignite server node with peer class loading enabled and started another one in client mode and it connected to server node. I verified it by looking at topology snapshot. Next I tried to submit compute job from client to server node. That job kept running forever. But when I started 2nd node in server mode, compute job completed immediately.
Is it possible to submit compute jobs from thick client to ignite grid or I am missing some configuration? Ignite docs don't say anything about thick clients. I read about thin client in below link and found we need to enable compute jobs for thin client using 'maxActiveComputeTasksPerConnection' field. Is there any such setting for thick clients as well? https://ignite.apache.org/docs/latest/thin-clients/java-thin-client
All other settings are default.
Compute job :
ClusterGroup grp = ignite.cluster().forServers();
IgniteCompute ignieCompute = ignite.compute(grp);
igniteCompute.run(() -> System.out.println("Task Executed"));