hosts1.put("host10", 1);
// ProjectionData projectionData1 = new ProjectionData(0, hosts1, null);
// HostsGridProjection projection1 = new HostsGridProjection();
// projection1.setProjectionData(projectionData1);
ProjectionData projectionData1 = new ProjectionData(0, hosts1, null, "hosts", 0);
// HostsGridProjection projection1 = new HostsGridProjection(hosts1);
GridProjection projection1 = appmaster.createContainerCluster("cluster1", projectionData1).getGridProjection();
// cluster2
Map<String, Integer> hosts2 = new HashMap<String, Integer>();
hosts2.put("host20", 1);
// ProjectionData projectionData2 = new ProjectionData(0, hosts2, null);
// HostsGridProjection projection2 = new HostsGridProjection();
// projection2.setProjectionData(projectionData2);
// HostsGridProjection projection2 = new HostsGridProjection(hosts2);
ProjectionData projectionData2 = new ProjectionData(0, hosts2, null, "hosts", 0);
GridProjection projection2 = appmaster.createContainerCluster("cluster2", projectionData2).getGridProjection();
appmaster.startContainerCluster("cluster1");
assertDoTask(appmaster, 0, 1, 0, 0, "cluster1");
assertDoTask(appmaster, null, null, null, null, "cluster2");