private Map<Address, Response> invokeEverywhere(MapCombineCommand<KIn, VIn, KOut, VOut> cmd) {
RpcManager rpc = cache.getRpcManager();
Map<Address, Response> map = null;
try {
log.debugf("Invoking %s across entire cluster ", cmd);
map = rpc.invokeRemotely(null, cmd, true, false);
log.debugf("Invoked %s across entire cluster, results are %s", cmd, map);
} catch (Throwable e) {
throw new CacheException("Could not invoke map phase of MapReduce task on remote nodes ", e);
}
return map;