HADOOP中HDFS基准测试
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HADOOP中HDFS基准测试相关的知识,希望对你有一定的参考价值。
hdfs 基准测试:磁盘读写性能测试
hadoop jar ./hadoop-mapreduce-client-jobclient-2.7.2.3.jar TestDFSIO -read -nrFiles 10 -fileSize 10MB
hadoop jar ./hadoop-mapreduce-client-jobclient-2.7.2.3.jar TestDFSIO -write -nrFiles 10 -fileSize 10MB
- dev环境:
read:19/06/28 08:14:45 INFO fs.TestDFSIO: ----- TestDFSIO ----- : read 19/06/28 08:14:45 INFO fs.TestDFSIO: Date & time: Fri Jun 28 08:14:45 CST 2019 19/06/28 08:14:45 INFO fs.TestDFSIO: Number of files: 10 19/06/28 08:14:45 INFO fs.TestDFSIO: Total MBytes processed: 100.0 19/06/28 08:14:45 INFO fs.TestDFSIO: Throughput mb/sec: 1369.86301369863 19/06/28 08:14:45 INFO fs.TestDFSIO: Average IO rate mb/sec: 1448.015869140625 19/06/28 08:14:45 INFO fs.TestDFSIO: IO rate std deviation: 313.0168409477681 19/06/28 08:14:45 INFO fs.TestDFSIO: Test exec time sec: 1.444
write:
19/06/28 08:17:58 INFO fs.TestDFSIO: ----- TestDFSIO ----- : write
19/06/28 08:17:58 INFO fs.TestDFSIO: Date & time: Fri Jun 28 08:17:58 CST 2019
19/06/28 08:17:58 INFO fs.TestDFSIO: Number of files: 10
19/06/28 08:17:58 INFO fs.TestDFSIO: Total MBytes processed: 100.0
19/06/28 08:17:58 INFO fs.TestDFSIO: Throughput mb/sec: 94.2507068803016
19/06/28 08:17:58 INFO fs.TestDFSIO: Average IO rate mb/sec: 94.32148742675781
19/06/28 08:17:58 INFO fs.TestDFSIO: IO rate std deviation: 2.5780734529814877
19/06/28 08:17:58 INFO fs.TestDFSIO: Test exec time sec: 2.482
19/06/28 08:17:58 INFO fs.TestDFSIO:
以上是关于HADOOP中HDFS基准测试的主要内容,如果未能解决你的问题,请参考以下文章