码迷,mamicode.com
首页 > 其他好文 > 详细

HADOOP中HDFS基准测试

时间:2019-07-02 13:30:39      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:date   dev   hdf   time   number   read   cli   byte   amp   

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基准测试

标签:date   dev   hdf   time   number   read   cli   byte   amp   

原文地址:https://blog.51cto.com/fengyunshan911/2416096

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!