System.out.println("buildRackRequests()");
HerdJsv instance = new HerdJsv();
List<LocatedBlock> blocks = new ArrayList<LocatedBlock>(5);
Map<String,String> expectedResult = new HashMap<String, String>();
Map result = null;
DatanodeInfo node1 = new DatanodeInfo(new DatanodeID("node1"));
DatanodeInfo node2 = new DatanodeInfo(new DatanodeID("node2a"));
DatanodeInfo node3 = new DatanodeInfo(new DatanodeID("node2b"));
DatanodeInfo node4 = new DatanodeInfo(new DatanodeID("node4"));
DatanodeInfo node5 = new DatanodeInfo(new DatanodeID("node5"));
node1.setNetworkLocation("/rack1");
node2.setNetworkLocation("/rack2a");
node3.setNetworkLocation("/rack2b");
node4.setNetworkLocation("/rack4");
node5.setNetworkLocation("/rack5");
blocks.add(new LocatedBlock(null, new DatanodeInfo[] {node1, node2, node5}));
blocks.add(new LocatedBlock(null, new DatanodeInfo[] {node1, node2, node3}));
blocks.add(new LocatedBlock(null, new DatanodeInfo[] {node2, node3, node4}));
blocks.add(new LocatedBlock(null, new DatanodeInfo[] {node1, node4, node5}));