159160161162163164165166167168169
writer.append(new ArquivoWebKeyValueWritable(graph.getId(fromUrl),graph.getId(toUrl)),NullWritable.get()); } }); writer.close(); return graph.numNodes(); } /** * Get host name * @param url url