CCD-410 · Question #54
Indentify which best defines a SequenceFile?
The correct answer is D. A SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key must be the. 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
Indentify which best defines 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 sorted
- DA SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key must be the
How the community answered
(42 responses)- A2% (1)
- B7% (3)
- C10% (4)
- D81% (34)
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.