Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Distributed Class loading (Feature Request) #7394
There should be this ability in Hazelcast to do distributed loading of classes so that jobs like MapReduce and Aggregate can be done more effectively.
Things like custom predicates will not work for aggregate if using through Hazelcast client as in #7386
Without this feature, map reduce and aggregate becomes highly restrictive and if we need to add a new predicate, it would mean restarting the entire cluster which is not desirable at all.
+1 (although I recall seeing a similar issue logged so this could be a duplicate). This is one of the great features of GridGain. I took a look at the hermgen project - its along the lines, but Id take it further - just load the classes directly on the node being used for processing (no need to hunt around the cluster - the invoking code should supply them). Being able to load classes dynamically opens HZ up to be used for distributed unit testing which is great. Use cases: 1. Just run this class on a node in the cluster - I dont care where - just pick one and run. 2. Run this class on a specific node in the cluster. Both of the usage models follow the existing HZ task distribution mechanism - we're just missing the dynamic class loading.