MapReduceCommand cmd = null;
MapReduceCommand selfCmd = null;
Map<Address, Response> results = new HashMap<Address, Response>();
if (inputTaskKeysEmpty()) {
cmd = factory.buildMapReduceCommand(mapper, reducer, rpc.getAddress(), keys);
selfCmd = cmd;
try {
log.debugf("Invoking %s across entire cluster ", cmd);
Map<Address, Response> map = rpc.invokeRemotely(null, cmd, true, false);
log.debugf("Invoked %s across entire cluster, results are %s", cmd, map);