Implementation and performance of Hadoop reference design: A preliminary test of Hadoop performance

Source: Internet
Author: User
Keywords Preliminary implementation reference design DFS

Name Node/second name Node specification (total two servers):

  

Datanode/http://www.aliyun.com/zixun/aggregation/17034.html ">tasktracker Specification:

  

Cabinet Specification:

  

Hadoop Performance Preliminary test

Based on the Hadoop cluster set up above, the standard test components are used to validate the scenarios and performance tests are performed using the Hadoop performance Benchmarking Suite Hibench.

Nnbench

Test Objective: Load test the hardware and configuration of Namenode.

Parameter settings:

Maps = 12

Reduces = 6

Test command

In the Hadoop installation directory (typically/usr/lib/hadoop/), enter:

[Root@hadoop3 hadoop]# Hadoop jar Hadoop-test-1.0.3-intel.jar nnbench-operation create_write-maps 12-reduces 6- BlockSize 1-bytestowrite 0 numberoffiles 1000-r eplicationfactorperfile 3-readfileafteropen True

Test Pass criteria:

There are no errors during command execution.

Sort

Test objective: To test the performance of the entire MapReduce system.

Parameter settings:

Test command:

The first step is to generate random data in a directory:

Hadoop jar Hadoop-examples-1.0.3-intel.jar Randomwriter random-data

The second step calls the sort program:

Hadoop jar Hadoop-examples-1.0.3-intel.jar Sort Random-data sorted-data

The third step checks that the results of the second output are sorted correctly:

Hadoop jar Hadoop-test-1.0.3-intel.jar Testmapredsort-sortinput random-data-sortoutput sorted-data

Test Pass criteria:

Output after the third step:

success! Validated the MapReduce framework ' s ' sort ' successfully.

Testdfsio

Test Purpose: Test HDFs I/O performance. The system uses MapReduce to read and write files at the same time.

Parameter settings:

Nrfiles:10

filesize:1000

Test command:

Hadoop jar Hadoop-test-1.0.3-intel.jar Testdfsio-write-nrfiles 10-filesiz e 1000

After the test finishes, the following results are output:

-----Testdfsio-----: Write

Da te & Time:thu Ma y-03:01:56 CST 2013

Number o f files:10

Total MBytes processed:10000

THR Oughput mb/sec:92.87206872533086

Average IO Rate mb/sec:98.6314926147461

IO Rate STD deviation:23.668972646690577

Test Exec Time sec:47.991

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.