Re: Improve plugins start/stop procedure.

2017-04-22 Thread npordash
Hi, This looks like a pretty valuable API enhancement for plugins. Considering the ticket is almost 2 years old is there any chance of this getting done as 2.0 is just around the corner? -Nick -- View this message in context: http://apache-ignite-developers.2346864.n4.nabble.com/Improve-plug

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-04-24 Thread npordash
Hi Denis, >> if you want to deserialize an entry then most likely you’re doing this on >> the app side that already has the class in the class path In this particular case the app is a deployed service and the hosting node doesn't have the class files on its classpath. I implemented a way to depl

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-04-25 Thread npordash
Hi Denis, Val, Please refer to my initial inquiry on the user forum for full context as I think that was lost while cross-posting to here: http://apache-ignite-users.70518.x6.nabble.com/BinaryObjectImpl-deserializeValue-with-specific-ClassLoader-td12055.html The setting in IgniteConfiguration doe

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-04-25 Thread npordash
Hi Alexei, I believe the problem with that approach is that I won't be able to reload classes because there is a single classloader that Ignite is referencing. When I undeploy a service I also want to allow the corresponding classloader (there is 1 per service) and classes to get reclaimed by the

Re: [VOTE] Apache Ignite 2.0.0 RC1

2017-04-28 Thread npordash
Hi Guys, Sorry to post this in a voting thread, but I tried to update a project to 2.0 (using the git tag Denis referred to) and I'm seeing what I assume is a regression. In short, attempts to access a pre-configured cache within the onIgniteStart() method of a PluginProvider now returns null inst

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-04-28 Thread npordash
Hey Denis, I tried your solution as that is what Alexei was more-or-less suggesting: create a delegating classloader, but in this case delegate to whatever context class loader is set. The problem is that resolved classes will always be stored by the instantiated classloader, which would be the de

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-05-05 Thread npordash
Thanks Denis! -- View this message in context: http://apache-ignite-developers.2346864.n4.nabble.com/Re-BinaryObjectImpl-deserializeValue-with-specific-ClassLoader-tp17126p17524.html Sent from the Apache Ignite Developers mailing list archive at Nabble.com.

Re: Add ability to enable and disable rebalancing per-node

2017-05-05 Thread npordash
I can outline a use-case I have which may help define requirements for this task. For context, I was originally going to try and address the below use-case by disabling automatic rebalancing on a per-cache basis and use a cluster-wide task to orchestrate manual rebalancing; however, this issue soun

Re: Add ability to enable and disable rebalancing per-node

2017-05-11 Thread npordash
Hi Alexandr, Yes, I'm using a StreamReceiver since I'm mostly using the cache as a router. The implementation is more-or-less like the following: The StreamPipeline is managed by the data node which contains the stages that make up the pipeline and what service is responsible for each stage (th

Re: BinaryObjectImpl.deserializeValue with specific ClassLoader

2017-06-01 Thread npordash
I wanted to provide an update on where I am at with this as I'm still exploring different options. For the time being I've taken the path of using a delegating ClassLoader in IgniteConfiguration as was previously suggested; however, with the difference being that whenever a service is deployed/und

Re: IGNITE-6827 - Review needed.

2018-05-17 Thread npordash
Hi, Would IGNITE-6827 potentially be a workaround for IGNITE-6967? I understand that eventually IGNITE-6967 will not be applicable once the service grid stops using the utility cache and switches to discovery messages, but I've encountered odd deadlocks with PME and I'm growing more suspicious tha

Re: IEP-19: Optimize SQL indexes

2018-05-04 Thread npordash
I think any ticket that results in less work being done is important, even if it's small, because the accumulation of these savings can have significant impact. I can't comment on how a lot of these may impact users like myself, but I'd like to echo that this is indeed a severe pain point that I r