Summary of common mistakes in virtual machine creation and cluster construction

1. Request timeout:
the network segment must be correct (go to the virtual network editor,)
ip address error The last digit of the ip address assignment cannot be 0, cannot be 255, cannot conflict with other ip addresses (cannot be repeated)
2. The uuid error is unique Identifier
Unknown connection
Method 1: Comment out the first uuid and add a # sign


Method 2: Close the network management NetworkManager
restart NetworkManager: service NetworkManager restart
Close NetworkManager: service NetworkManager stop
and then restart the network: service network restart


3.mac address error in the
configuration file It will be automatically generated, and it will be invalid due to misoperation.
Check the mac address: right-click on the small computer in the lower right corner, and then select the advanced button to view the mac address


4. When restarting the network, an error occurs,
the . Delete the part of .d/70-persistent-net.rules
that contains the mac address and then reboot the virtual machine (it will generate a copy of the mac address related content by itself)
5. There is no problem with pinging your own ip address, but you cannot ping www. baidu.com 
(check your /etc/sysconfig/network-scripts/ifcfg-eth0 for errors), if there is no problem,
then confirm whether the network of your physical machine is normal,
6. The host name change does not take effect. If the host name is changed
in the file etc/sysconfig/network, you
need to reboot and restart the virtual machine to make it take effect


hdfs pseudo-distributed:
1. The start-dfs.sh command cannot be found
. Check the environment Variable (hadoop/sbin:)
export path= do not wrap
2. Only start data and jps, namenode and secondary;
check the configuration file host name error;
3. 50070 web page cannot be opened:
turn off your computer's firewall

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325809962&siteId=291194637