1, distributed environment construction
Build a small-scale distributed cluster with 4 machines that install Linux environments.
One of the machines is the master node, the name node, and the other three are the slaver nodes, the data
node. The four machines are connected to each other via routers to experiment with communication and data transmission. All of them
can access the Internet through a router and experiment with the collection of Web documents.
2, Cluster machine details
2.1 Master Server
Name details
Machine name Master.hadoop
Machine IP address 192.168.1.2
Maximum user name (name) root
Maximum user password (PWD) Hadoop (all lowercase)
Generic user name (name) Hadoop (all lowercase)
General user password (PWD) Hadoop (all lowercase)
More content http://www.yfteach.com
Real-time Online teaching 1
2.2 Slave1 Server
Name details
Machine name Slave1.hadoop
Machine IP address 192.168.1.3
Highest user name (name) root
Maximum user password (PWD) Hadoop (all lowercase)
Generic user name (name) Hadoop (all lowercase)
General user password (PWD) Hadoop (all lowercase)
2.3 Slave2 Server
Name Details
Machine name Slave2.hadoop
Machine IP address 192.168.1.4
Maximum user name (name) root
Most user password (PWD) Hadoop (all lowercase)
General user name (name) Hadoop (all lowercase)
General user password (PWD) Hadoop (all lowercase)
2.4 Slave3 Server
Name details
Machine name Slave3.hadoop
Machine IP address 192.168.1.5
Maximum user name (name) root
User password (PWD) Hadoop (all lowercase)
Generic user name (name) Hadoop (all lowercase)
General user password (PWD) Hadoop (all lowercase)
Remarks:
Add New User command: Useradd; modify new user password: passwd user name
Exit Current User: Exit; login root User: su–
3.1 Hadoop Working cluster
The Hadoop cluster machine is a learning and research use that runs a built-in Hadoop platform and
Run some actual programs.
Figure 3.1-1 Hadoop working cluster deployment diagram (1)
Figure 3.1-2 Hadoop working cluster deployment diagram (2)
The Hadoop cluster deployment is viewed from two perspectives, as the master node of the Hadoop cluster, with
More content http://www.yfteach.com
Real-time online lessons for enterprise real projects 3
It's the new Dell with a good machine, and the three slave machines are the old Lenovo that the lab eliminated, with a path
By the device they make up a local area network.
Figure 3.1-3 Router Features
3.2 Hadoop Experimental Cluster
To make it easier for new members to practice Hadoop technology and to prevent the destruction of running programs on actual Hadoop clusters,
So another two old Lenovo computer composition: a "main--tmaster", a "auxiliary--tslave".
Figure 3.2-1 Hadoop Lab Cluster deployment
This is what the lab Hadoop cluster looks like, though it's simple enough to learn.
Cloud Sail Big Data College Hadoop cluster--Machine Information distribution table