Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

HDFS

Rating
-
Sold
-
Pages
3
Uploaded on
05-02-2023
Written in
2022/2023

Lecture notes of 3 pages for the course AI403 at Kafrelsheikh University (HDFS)

Institution
Course

Content preview

HDFS


Standby NameNode
The primary NN is unable to merge the edits log and the fsimage while it is in use.
On the secondary NN, this task is carried out:
The secondary NN copies a fresh edit log from the original NN every few minutes.
Log in to fsimage to merge the changes.
returns the combined fsimage to the main NN.
provides a quicker startup time but is not HA:
Any in-flight transactions are lost since Standby NN lacks a complete image.
During startup, primary NN requires less merging.
The HDFS file system data is kept by NN in a file with the name fsimage. When
adding or removing blocks from the file system, the I/O is fast-append streaming
exclusively as opposed to random file writes, hence the fsimage file is not updated.
NN examines fsimage before applying all the changes from the log file to restart
the file system, updating the file system state in memory. This operation requires
time.
During startup, primary NN requires less merging.
The secondary NN's only responsibility is to regularly read the file system changes
log, apply the changes to the fsimage file, and keep NN up to date. Its role is not to
serve as NN's secondary. The subsequent start will be quicker thanks to this task.


Federated NameNode (HDFS)
• New in Hadoop V2: NNs can be federated:
▪ Historically, NNs can become a bottleneck on huge clusters.
▪ One million blocks or ~100 TB of data require roughly 1 GB of RAM
in an NN.

Written for

Institution
Course

Document information

Uploaded on
February 5, 2023
Number of pages
3
Written in
2022/2023
Type
Class notes
Professor(s)
Nora
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
pinkoo3645

Also available in package deal

Get to know the seller

Seller avatar
pinkoo3645 kafr el sheikh
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
12
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions