O'Reilly logo

Hadoop 2.x Administration Cookbook by Gurmukh Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Network design

In this recipe, we will be looking at the network design for the Hadoop cluster and what things to consider for planning a Hadoop cluster.

Getting ready

Make sure that the user has a running cluster with HDFS and YARN and has at least two nodes in the cluster.

How to do it...

  1. Connect to the master1.cyrus.com Namenode and switch to the user hadoop.
  2. Execute the commands as follows to check for the link speed and other network option modes:
    $ ethtool eth0
    $ iftop
    $ netstat -s
    
  3. Always have a separate network for Hadoop traffic by using VLANs.
  4. Ensure the DNS resolution works for both forward and reverse lookup.
  5. Run a caching-only DNS within the Hadoop network, which caches records for faster resolution.
  6. Consider NIC teaming or binding for better ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required