if (reducer == null)
throw new NullPointerException("A valid reference of Reducer is not set " + reducer);
ComponentRegistry registry = cache.getComponentRegistry();
RpcManager rpc = cache.getRpcManager();
InvocationContextContainer icc = cache.getInvocationContextContainer();
DistributionManager dm = cache.getDistributionManager();
InterceptorChain invoker = registry.getComponent(InterceptorChain.class);
CommandsFactory factory = registry.getComponent(CommandsFactory.class);
MapReduceCommand cmd = null;