Solving the unusual problem of Hadoop not being networked

Source: Internet
Author: User

    • CentOS No network Restart Network.service shows the following conditions

Reason:

NetworkManager is a network address service on Fedora that automatically detects settings on the current network and automatically modifies the contents of the settings file, such as wireless network detection.

However, when it is not recognized, it creates a condition that cannot be brought online, so it is recommended that NetworkManager be deactivated and the network service is turned on. Both can configure networking services.

Both are configured for network connections, but cannot be used at the same time, conflicts occur

Workaround:

Close NetworkManager

Service NetworkManager Stop

Restart Network Service

Systemctl Restart Network.service

    • Node on Safe mode does not start

Reason:

Workaround:

Exit Safe Mode

Hadoop Dfsadmin-safemode Leave

    • A situation where the connection cannot occur is as follows:

Cause: Child node firewall not shutting down

Workaround:

Shutting down the firewall

Systemctl Stop Firewalld

Set boot not to start

Systemctl Disable FIREWALLD

    • Hadoop virtual memory is too small problem: CentOS memory is 2G but setting virtual memory equals or less than 2G will cause problems

Workaround:

Setting up the configuration file Yarn.site.xml

<property>

<name>yarn.nodemanager.resource.memory-mb</name>

<value>2048</value>

</property>

Set the virtual memory is preferably twice times the native memory, for example, the native memory is the value of 2G setting because 4096

Solving the unusual problem of Hadoop not being networked

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.