HDFS Flashcards

(8 cards)

1
Q

How are block replicas are assigned to node

A

file is split up into 128 blocks. Replicate each block 3 times and each replica is sent to different machines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Calculate how much network overhead is incurred when reading/writing files in HDFS.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

which information is stored on the name node and data nodes.

A

name node: the file and directory names, replication factor, list of all data nodes
data node: contents of the file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does HDFS do to account for hardware failures

A

Replicate the data to multiple nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is write-once-read-many access model

A

HDFS can write a file only once but you can read it many times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the most common replication factor in HDFS

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following are restrictions imposed by HDFS

A

Once a file is closed, its contents can no longer be modified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly