Hadoop cluster optimization

Source: Internet
Author: User
Hadoopnamenode vs RM
  1. Small clusters: Namenode and RM can be deployed on a single node
  2. Large clusters: Because Namenode and RM have large memory requirements, they should be deployed separately. If deployed separately, ensure that the contents of the slaves file are the same, so that the NM and DN can be deployed on one node
Port

A port number of 0 instructs the server to start in a free port, but this is generally discouraged because it is incompati ble with setting cluster-wide firewall policies.

HDFSECC Memory

ECC memory is strongly recommended, as several Hadoop users has reported seeing many checksum errors when using NON-ECC m Emory on Hadoop clusters.

Dfs.name.dir

Configured as multiple paths, fsimage and Editlog write multiple paths at the same time, allowing for later recovery

Raid

Not suitable for Datanode, if configured as RAID, no replicas are required:

  1. Because HDFs's redundancy is good.
  2. The speed is slower than JBOD (Just a Bunch of Disks), the speed of the raid is determined by the slowest disk, and the JBOD disks have no effect on each other.
  3. If a disk in Jbod is damaged, HDFs will still work, but if a raid disk is broken, the entire data will be corrupted.

Suitable for namenode: for protecting meta-data information

Hadoop cluster optimization

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.