Using virtual machine VirtualBox to configure the Hadoop development environment summary

Source: Internet
Author: User

The Mentor project will need to process large-scale sensing data in the future, so use Hadoop to study how to handle massive amounts of data. The installation of Hadoop was completed today, and a lot of problems were encountered during the period, which was summarized for later use.

The main reference is Hadoop configuration installation 1 and Hadoop configuration installation 2.

<TIP1> Mistake Campus network environment as LAN environment

First, two virtual machines (slaves) are configured on the local computer (master), and the network settings are automatically dhcp. So think of this "three computers", through the campus network switches constitute a local area network. One consequence of this is that although both Namenode and Datanode can be started, Namenode cannot monitor the running state of the Datanode. (=.= computer network did not learn well.) )

<TIP2> set SSH login without password

Master and slave, each other should be set without password login, otherwise it will also cause namenode can not monitor to Datanode.

<TIP3> Formatting Issues

After formatting, if you need to format again, you need to clear the newly generated Data,temp folder contents, and then format, otherwise it will also cause namenode can not be monitored to datanode.

<TIP4> configuration File Settings

Hadoop2.5.1, the configuration file settings are slightly different from hadoop1.x.x, the main thing is that the yarn-site.xml is set up correctly, otherwise the mapreduce operation cannot be performed.

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.