HDFS基准测试
写入测试
向HDFS集群写10个128M的文件
hadoop jar /ups/app/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.10.0-tests.jar TestDFSIO -write -nrFiles 10 -fileSize 128MB
读性能测试
读取HDFS集群10个128M的文件
hadoop jar /ups/app/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.10.0-tests.jar TestDFSIO -read -nrFiles 10 -fileSize 128MB
删除测试数据
hadoop jar /ups/app/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.10.0-tests.jar TestDFSIO -clean