1、文档



2、相关问题


2.1、hdfs基准测试

  1. # 写入测试
  2. hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.9.2.jar TestDFSIO -write -nrFiles 10 -fileSize 10MB
  3. # 会在当前目录下生成一个测试报告
  4. # 读取测试
  5. hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.9.2.jar TestDFSIO -read -nrFiles 10 -fileSize 10MB
  6. # 清楚hdfs中测试数据
  7. hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.9.2.jar TestDFSIO -clean