simulate Hadoop