PrepAway - Latest Free Exam Questions & Answers

Identify four characteristics of a 300MB file that has been written to HDFS with block size of 128MB and all o

Identify four characteristics of a 300MB file that has been written to HDFS with block size of
128MB and all other Hadoop defaults unchanged?

PrepAway - Latest Free Exam Questions & Answers

A.
The file will consume 1152MB of space in the cluster

B.
The third block will be 64MB

C.
The third Initial block will be 44 MB

D.
Two of the initial blocks will be 128MB

E.
Each block will be replicated three times

F.
The file will be split into three blocks when initially written into the cluster

G.
Each block will be replicated nine times

H.
All three blocks will be 128MB

Explanation:
Not A: The file will take (2×128 + 44) * 3 = 900 MB
C (not B): The third block size is 300 – 2 * 128 = 44 MB
D (Not H): all blocks in a file except the last block are the same size.
E (not G): All blocks are replicated three times by default.

One Comment on “Identify four characteristics of a 300MB file that has been written to HDFS with block size of 128MB and all o

  1. seema says:

    Given block size is 128MB
    given File Size is 300MB

    300MB file will be split in 128+128+44=3 Blocks

    block1=128MB
    block2=128MB
    block3=44MB

    Default Replication is 3.

    Each block will be replicated 3 times.

    Total no of blocks in the cluster.
    3+3+3=9

    Answer:CDEF




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *