public void addContainerRequest(Map<StreamingContainerAgent.ContainerStartRequest,MutablePair<Integer,ContainerRequest>> requestedResources,int loopCounter,List<ContainerRequest> containerRequests,StreamingContainerAgent.ContainerStartRequest csr,ContainerRequest cr){
  MutablePair<Integer,ContainerRequest> pair=new MutablePair<Integer,ContainerRequest>(loopCounter,cr);
  requestedResources.put(csr,pair);
  containerRequests.add(cr);
}

public void addContainerRequest ( Map < StreamingContainerAgent . ContainerStartRequest , MutablePair < Integer , ContainerRequest > > requestedResources , int loopCounter , List < ContainerRequest > containerRequests , StreamingContainerAgent . ContainerStartRequest csr , ContainerRequest cr ) { MutablePair < Integer , ContainerRequest > pair = new MutablePair < Integer , ContainerRequest > ( loopCounter , cr ) ; requestedResources . put ( csr , pair ) ; containerRequests . add ( cr ) ; }
add container request to list of issued requests to yarn along with current loop counter
