Before deploying a Hadoop environment, installing a CentOS virtual machine on its own machine, and then saving the diagram, cloning three, one for master and two for slave.
Long time no use, yesterday I would like to debug Hadoop source code, opened to find a host connected to the Internet. Always show "Rtnetlink Answers file exists"
Before also encountered this situation, the cloned virtual machine in the network card has been a problem, there is no worry, nothing more than two scenarios:
The first kind: and NetworkManager service has conflict, this good solution, directly shut down the Networkmanger service is good, services NetworkManager stop, and prohibit boot boot chkconfig NetworkManager off. After that, it's good to restart.
The second type: and the configuration file MAC address does not match, this solves, directly modifies the MAC address of the/etc/udev/rules.d/70-persistent-net.rules file and/etc/sysconfig/network-scripts /ifcfg-eth0 is just as good.
The two methods of the whole day, or did not get out, tortured a night, this morning also continue to engage in, the results from which not well-known post on the discovery of such a command IP addr flush dev eth0, the result is good.
I'm so embarrassed ...
Solution for Rtnetlink answers file exists under Linux