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:

成都创新互联公司基于成都重庆香港及美国等地区分布式IDC机房数据中心构建的电信大带宽,联通大带宽,移动大带宽,多线BGP大带宽租用,是为众多客户提供专业服务器托管报价,主机托管价格性价比高,为金融证券行业服务器托管,ai人工智能服务器托管提供bgp线路100M独享,G口带宽及机柜租用的专业成都idc公司。

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基准测试
网站地址:http://scjbc.cn/article/gieijh.html

其他资讯