Build a pseudo-distributed architecture of Hadoop2.2.0

Source: Internet
Author: User

Build a pseudo-distributed architecture of Hadoop2.2.0

I. Prepare the Linux environment
1. Change the VMware adapter settings
Because it is learned in a single-host environment, the adapter mode is host-only. If you want to connect to the Internet, you can select the bridge mode. The configuration method is similar.

Choose VMware shortcut, right-click the file location, and choose vmnet.exe> VMnet1 host-only> modify subnet ip address to set the CIDR Block: 192.168.85.0 subnet mask: 255.255.255.0-> apply-> OK.

Go back to windows --> open network and sharing center-> change adapter settings-> right-click VMnet1-> properties-> double-click IPv4-> set windows IP Address: 192.168.85.100 subnet mask: 255.255.255.0-> click OK

On the virtual software, choose My Computer> select Virtual Machine> right-click and choose settings> network adapter> host only> OK.
2. Modify the Host Name
In the linux Command window, enter the following command
Vim/etc/sysconfig/network

Modify the Host Name (the entry with the # sign must be modified)
NETWORKING = yes
HOSTNAME = hucc01 ###

3. Modify the ip address
There are three ways to modify an ip Address:

First: Modify through the Linux graphic interface (relatively simple)
Go to the Linux graphical interface, right-click the two computers in the upper-right corner, and choose Edit connections from the shortcut menu. Select the current network System eth0, click edit, and select IPv4 from the shortcut menu. Choose manual from the shortcut menu-> click add to add an IP address: 192.168.85.11 subnet mask: 255.255.255.0 Gateway: 192.168.85.1-> apply

Type 2: Modify through the Linux Command window (moderate difficulty)
Enter the linux Command window and enter the following command

Setup

Select network configuration-> device configuration-> etho-> Configure the corresponding static IP address, subnet mask, default gateway IP address, and other information.

Method 3: modify the configuration file (Special for programmers, but not for common users) (the items with the # sign must be modified)
In the linux Command window, enter the following command
Vim/etc/sysconfig/network

Modify ip information
DEVICE = "eth0"
BOOTPROTO = "static "###
HWADDR = "00: 0C: 29: 3C: BF: E7"
IPV6INIT = "yes"
NM_CONTROLLED = "yes"
ONBOOT = "yes"
TYPE = "Ethernet"
UUID = "ce22eeca-ecde-4536-8cc2-ef0dc36d4a8c"
IPADDR = "192.168.85.11 "###
NETMASK = "255.255.255.0 "###
GATEWAY = "192.168.85.1 "###

4. Modify the ing between host names and IP addresses
In the linux Command window, enter the following command
Vim/etc/hosts

Modify the ing relationship and add the following content:
192.168.1.44 hucc01

5. Disable the Firewall
# View the Firewall Status
Service iptables status

# Disable the Firewall
Service iptables stop

# View the firewall startup status
Chkconfig iptables -- list

# Disable firewall startup
Chkconfig iptables off

6. Restart linux

Reboot

-------------------------------------- Split line --------------------------------------

Tutorial on standalone/pseudo-distributed installation and configuration of Hadoop2.4.1 under Ubuntu14.04

Install and configure Hadoop2.2.0 on CentOS

Build a Hadoop environment on Ubuntu 13.04

Cluster configuration for Ubuntu 12.10 + Hadoop 1.2.1

Build a Hadoop environment on Ubuntu (standalone mode + pseudo Distribution Mode)

Configuration of Hadoop environment in Ubuntu

Detailed tutorial on creating a Hadoop environment for standalone Edition

Build a Hadoop environment (using virtual machines to build two Ubuntu systems in a Winodws environment)

-------------------------------------- Split line --------------------------------------

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.