Problems with Hadoop configuration Hosts file

Source: Internet
Author: User
Tags python script

In a previous blog, wrote that my Python script does not work, and later was modified Hosts file, today, a colleague again explained the next problem, found that the understanding before error.
Another way to introduce this is to add all the host names and IP addresses to the hosts file for each machine.
For Linux systems, modify/etc/hosts files, all machines in all Hadoop environments add machine names and IP addresses, as follows:
10.200.187.77 Master
10.200.187.78 slave1
10.200.187.79 Slave2
10.200.187.80 Slave3
10.200.187.54 Slave4

corresponding to the window system, modify the C:\WINDOWS\system32\drivers\etc directory, the content ibid.

But the individual also believes that if the machine in the Hadoop environment to rise to thousands of units, this configuration is cumbersome.

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.