Re: Copying My Service classes to the lib folder of already started nodes (not via visor)

2018-12-19 Thread Zaheer
Thank you very much for the replies.

Regards
Zaheer



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


Re: Copying My Service classes to the lib folder of already started nodes (not via visor)

2018-12-19 Thread Zaheer
Thank you very much for the replies Denis and Ilya

Regards
Zaheer



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


Re: Copying My Service classes to the lib folder of already started nodes (not via visor)

2018-12-17 Thread Ilya Kasnacheev
Hello!

You could be running Tasks from your service, and you can deploy Tasks via
Deployment SPI, e.g. UriDeploymentSpi.
https://apacheignite.readme.io/docs/deployment-spi

Here it will check if new version is available, redeploy it and start using
new JARs.

Regards,
-- 
Ilya Kasnacheev


пн, 17 дек. 2018 г. в 15:12, Zaheer :

> Hi,
>
> I have a use case, where a node is already started and I want to copy some
> jars into that node's libs folder.
> Visor has the deploy command. But without using visor can we do it
> somehow?
>
> I know peer class loading happens in data and compute. But for services the
> documentation says no peer class loading. So If I have a node started
> already(A) and I start one more service node(B), My service implementation
> class will not be copied to A. I want to do this copying in runtime.
>
> Regards
> Zaheer
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: Copying My Service classes to the lib folder of already started nodes (not via visor)

2018-12-17 Thread Denis Mekhanikov
Zaheer,

Currently services are loaded using that class loader, that was used to
load Ignite.
So, you need to restart a node to add something to its classpath.

It's planned to add a hot redeployment feature, that will allow providing
and changing
service implementation in runtime.
Here is the design document, that mentions this change:
https://cwiki.apache.org/confluence/display/IGNITE/IEP-17%3A+Oil+Change+in+Service+Grid#IEP-17:OilChangeinServiceGrid-Hotredeployment
JIRA ticket: https://issues.apache.org/jira/browse/IGNITE-8367

Denis

пн, 17 дек. 2018 г. в 15:12, Zaheer :

> Hi,
>
> I have a use case, where a node is already started and I want to copy some
> jars into that node's libs folder.
> Visor has the deploy command. But without using visor can we do it
> somehow?
>
> I know peer class loading happens in data and compute. But for services the
> documentation says no peer class loading. So If I have a node started
> already(A) and I start one more service node(B), My service implementation
> class will not be copied to A. I want to do this copying in runtime.
>
> Regards
> Zaheer
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Copying My Service classes to the lib folder of already started nodes (not via visor)

2018-12-17 Thread Zaheer
Hi,

I have a use case, where a node is already started and I want to copy some
jars into that node's libs folder.
Visor has the deploy command. But without using visor can we do it somehow? 

I know peer class loading happens in data and compute. But for services the
documentation says no peer class loading. So If I have a node started
already(A) and I start one more service node(B), My service implementation
class will not be copied to A. I want to do this copying in runtime.

Regards
Zaheer



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