MapReduceTask is on its way out, since the new Java 8-based streams API is much more powerful and flexible. Infinispan 8.2 will come with the ability to deploy tasks as JARs in server and monitor them via the management console.
Ok great thanks for clarifying this.
I am now wondering if the streams api will allow the data within Infinispan to processed by Apache Spark's MLib (MLlib | Apache Spark).
I'm aware another approach would be to use the Infinispan spark connector to achieve this but wondered it could be done directly so could be more efficient.