mapReduceManager.getExecutorService().submit(futureTask);
} else {
RpcManager rpc = SecurityActions.getCacheRpcManager(cache);
try {
log.debugf("Invoking %s on %s", mcc, getExecutionTarget());
rpc.invokeRemotelyInFuture(Collections.singleton(getExecutionTarget()), mcc, rpcOptionsBuilder.build(),
(NotifyingNotifiableFuture<Object>) this);
log.debugf("Invoked %s on %s ", mcc, getExecutionTarget());
} catch (Exception ex) {
throw new CacheException(
"Could not invoke map phase of MapReduceTask on remote node "