CCD-410 · Question #31
What is a SequenceFile?
The correct answer is D. A SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key must be. SequenceFile is a flat file consisting of binary key/value pairs. There are 3 different SequenceFile formats: Uncompressed key/value records. Record compressed key/value records - only 'values' are compressed here. Block compressed key/value records - both keys and values are…
Question
What is a SequenceFile?
Options
- AA SequenceFile contains a binary encoding of an arbitrary number of homogeneous writable objects.
- BA SequenceFile contains a binary encoding of an arbitrary number of heterogeneous writable objects.
- CA SequenceFile contains a binary encoding of an arbitrary number of WritableComparable objects, in
- DA SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key must be
How the community answered
(62 responses)- A13% (8)
- B2% (1)
- C5% (3)
- D81% (50)
Explanation
SequenceFile is a flat file consisting of binary key/value pairs. There are 3 different SequenceFile formats: Uncompressed key/value records. Record compressed key/value records - only 'values' are compressed here. Block compressed key/value records - both keys and values are collected in 'blocks' separately and compressed. The size of the 'block' is configurable.
Topics
Community Discussion
No community discussion yet for this question.