nerdexam
Cloudera

CCA-410 · Question #55

What does each block of a file contain where it is return into HDFS?

The correct answer is A. Each block writes a separate meta file containing information on the file name of which the block is a part. The other files in the datanode's current storage directory are the files with the blk_ prefix. There are two types: the HDFS blocks themselves (which just consist of the file's raw bytes) and the metadata for a block (with a .meta suffix). A block file just consists of the raw…

Resource Management

Question

What does each block of a file contain where it is return into HDFS?

Options

  • AEach block writes a separate meta file containing information on the file name of which the block is a part
  • BEach block has a header and footer containing metadata
  • CEach block contains only data from the file
  • DEach block as a header containing metadata

How the community answered

(30 responses)
  • A
    77% (23)
  • B
    3% (1)
  • C
    7% (2)
  • D
    13% (4)

Explanation

The other files in the datanode's current storage directory are the files with the blk_ prefix. There are two types: the HDFS blocks themselves (which just consist of the file's raw bytes) and the metadata for a block (with a .meta suffix). A block file just consists of the raw bytes of a portion of the file being stored; the metadata file is made up of a header with version and type information, followed by a series of checksums for sections of the block.

Topics

#HDFS blocks#block metadata#file storage

Community Discussion

No community discussion yet for this question.

Full CCA-410 Practice