public void reduce(IntWritable key, Iterator<Text> iter,
OutputCollector<Text, Text> out, Reporter reporter) throws IOException {
long baseid = key.get();
int split = 0;
while (iter.hasNext()) {
Vertex v = graphparser.parseVertex(iter.next().toString(), vidparser,
vdataparser);
long newId = baseid + splitsize * split;
out.collect(new Text("vidmap"), new Text(newId + "\t" + v.vid()));
out.collect(new Text("vdata"), new Text("!" + newId + "\t"
+ v.vdata().toString()));
split++;
}
}