fixed a bug in HadoopGraph.