LocalFileSystem local = FileSystem.getLocal(conf);
// close the files
IOUtils.cleanup(null, softGraphPartsDos, softGraphPartsDis,
staticGraphPartsDis, staticGraphPartsDos);
softGraphPartsDis = local.open(new Path(softGraphFileName));
staticGraphPartsDis = local.open(new Path(staticFile));
// ensure the vertex is not null
if (cachedVertexInstance == null) {
cachedVertexInstance = GraphJobRunner
.<V, E, M> newVertexInstance(GraphJobRunner.VERTEX_CLASS);