MapReduce and Design Patterns - Installing Hadoop for Single Node Cluster
4K views
Oct 18, 2024
MapReduce and Design Patterns - Installing Hadoop for Single Node Cluster https://www.tutorialspoint.com/market/index.asp Get Extra 10% OFF on all courses, Ebooks, and prime packs, USE CODE: YOUTUBE10
View Video Transcript
0:00
In this video we are going to discuss installing Hadoop for single node cluster
0:05
And here we shall mention the step step by step so that you can follow and also you can do the same at your end
0:12
So let us start the installation process discussion. Now at first we are going for the installation of SSA and R sync
0:20
But before going for that, we'll be discussing three terminologies. The first one is the secure shell, that is SSAH, what is that
0:28
Then we shall go for R sync, that is a remote sync, and the last one is the pass phrase
0:34
So, let us go for the respective definitions. So, this SSH is a protocol for cryptographic network for operating network services securely
0:46
over an unsecured network. So that is the definition of SSH. That means it is a protocol for cryptographic network for operating network services
0:58
securely on an unsecured network. Next one is the remote sync that is the R sync. So is a remote
1:06
and local file synchronization tool. So sometimes it may happen that the two files which is at the
1:13
local and at the remote the file content may have got changed. Then it is not transferring the
1:18
full file but it is transferring that portion of the file where the updates were done. So depending
1:24
upon that the remote sync will work and obviously that will have the less
1:28
amount of data transfer. So it uses an algorithm that minimizes the amount of data copied by moving the portions of the files that have got some changes Next one is the pass phrase
1:43
So a passphrase is a sequence of words or other texts used to control the access of one computer system
1:51
And this particular computer system or program are also on data. A passphrase is similar to a password in usage but it generally required for the added security
2:03
of our data. So these are the three terminologies that they are. Now let us go step by step one by one
2:09
for the installation of Hadoop for single node cluster. So here we're having two operations
2:18
are to be done. So first one is the install SSH and R sync and then you shall go for SSH without
2:23
pass phrase setup. So to do this one we require to issue these two commands that is pseudo
2:30
APT-h-GET-GET install SSH, then pseudo APT-H-5-GET install R-Sync. So these two commands are to be executed to install S-S-H and R-Sync on our system
2:44
These two commands were executing from the dollar prompt. So, SSH without parse, phrase, setup
2:51
So the command will be SSH-H-H-K-GEN minus T RSA. After that, we are supposed to press enter for three times without entering anything
3:02
So, three times enter is to be pressed. Then we shall go for CAT, then s.s
3:08
S S S S S slash ID underscore RSA So this particular file is there under the home path This particular file we are doing the cat means where it is printing the content of the file but not we are not
3:23
printing the content of the file on the console. We are redirecting it to this respective file in this particular folder existing
3:31
So this command has to be executed. Then SSH, local host. So these two commands are to be executed after pressing enter three times issuing this comment
3:41
Now open the browser. So in the Linux we'll be having one browser, open the browser and go to this particular link
3:51
So this link has been created, has been given here, so just copy this particular link and
3:57
type this particular link at the URL of that browser and then click on the highlighted link
4:04
So here you can find if you put this particular link on the browser URL, this web page will
4:08
get opened and this particular web page is having this. particular file that is a Hadoop hyphen 2.4.1.t.tard.g. So this is a file which has to be
4:19
highlighted here and it has to be clicked there. Now, open up the terminal. To open up
4:28
the terminal we are supposed to go for Control Alter T and then create a directory called
4:35
the Hadoop at the home directory. So how to create this directory? Just issue the command
4:39
mkDIR Hadoop. So, just issue this command, MKDIR Hadoop, then one directory will get opened
4:47
Now edit the slash ETC slash profile file and add the following lines So profile file is existing under the folder that is slash ETC slash So under this folder there is one file that is a profile file where these
5:02
lines are to be written. You can open this file in G-Edit and then you can type this lines
5:07
and then save and exit from the G-Edit. And then to make it effective onto the system
5:13
whatever you have typed extra, just execute this file. Dot slash ETC slash profile. So in this
5:20
you can execute the file. So, whatever the changes you did in the profile file, the corresponding
5:24
changes will be obtained onto the system. Now, copy the downloaded Hadoop, that is a Hadoop
5:34
hydub, hyphen 2.4.1.t.org. So, the file which we downloaded from the respective URL
5:40
which I showed you earlier, into the Hadoop directory, and then go to this directory and
5:46
using terminal and then enter the downloaded tt dot gz file. So just go to the download folder
5:53
where you download it there and then copy those files and then now put those files under
5:59
the Hadoop folder and follow the lines to go to the Hadoop directory. So just go to the Hadoop
6:05
folder and the files which were copied from the downloaded folder to the Hadoop folder
6:09
now execute TAR XZF for the untow operation. So TAR XZF for the untow operation. So TAR XZF
6:16
and then Hadoop start. So, the file which was copied from the downloaded folder to the Hadoop folder, those tert.G.J. files will be unttered here and this much you are going to do for this single node cluster installation on Hadoop. Thanks for watching this video
#Programming
#Software