DataInput in = new DataInputStream(inputStream);
PigSplit anotherSplit = new PigSplit();
anotherSplit.setConf(conf);
anotherSplit.readFields(in);
Assert.assertEquals(700, anotherSplit.getLength());
checkLocationOrdering(pigSplit.getLocations(), new String[] { "l5",
"l1", "l6", "l3", "l4" });