Re: Using compute().call from a Service has P2P class loading feature?

2018-09-17 Thread ezhuravlev
Hi,

Are you sure that you use proper service? I mean from the client node. I've
just checked this case and everything works fine.

Evgenii



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Using compute().call from a Service has P2P class loading feature?

2018-09-16 Thread Vyacheslav Daradur
Hi!

Unfortunately, peer class loading doesn't work properly for Service Grid.
Here is a task with the same issue [1].

I've done some tests and according to results, the peer class loading
works in case of service's classes propagation from a coordinator to
others node, but not vice versa.

Possibly it will be implemented in future releases.

[1] https://issues.apache.org/jira/browse/IGNITE-975
On Fri, Sep 14, 2018 at 8:59 PM xero  wrote:
>
> Hello,
> I have a question about p2p class loading.
>
> My topology is 1 dedicated server, 1 client.
> I have deployed a Service in the ignite client node (selecting clusterGroup
> forClients) from which I'm trying to execute a compute() to the server node.
> The IgniteCallable that I'm sending to call() is referencing User's classes
> I would expect that the p2p class loading will transfer that class to the
> server node (As the service is running in a client node, the classpath has
> the mentioned classes)
>
> This is not working. I'm getting ClassNotFoundException for the user class.
> Should this be working?
>
> Thanks!
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/



-- 
Best Regards, Vyacheslav D.


Using compute().call from a Service has P2P class loading feature?

2018-09-14 Thread xero
Hello,
I have a question about p2p class loading.

My topology is 1 dedicated server, 1 client.
I have deployed a Service in the ignite client node (selecting clusterGroup
forClients) from which I'm trying to execute a compute() to the server node. 
The IgniteCallable that I'm sending to call() is referencing User's classes
I would expect that the p2p class loading will transfer that class to the
server node (As the service is running in a client node, the classpath has
the mentioned classes)

This is not working. I'm getting ClassNotFoundException for the user class.
Should this be working?

Thanks!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/