PrepAway - Latest Free Exam Questions & Answers

What is a SequenceFile?

What is a SequenceFile?

PrepAway - Latest Free Exam Questions & Answers

A.
A SequenceFile contains a binary encoding of an arbitrary number of homogeneous writable
objects.

B.
A SequenceFile contains a binary encoding of an arbitrary number of heterogeneous writable
objects.

C.
A SequenceFile contains a binary encoding of an arbitrary number of WritableComparable
objects, in sorted order.

D.
A SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key
must be the same type. Each value must be same type.

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.
Reference:http://wiki.apache.org/hadoop/SequenceFile

4 Comments on “What is a SequenceFile?

  1. Ramesh Hiremath says:

    D.
    A SequenceFile contains a binary encoding of an arbitrary number key-value pairs. Each key
    must be the same type. Each value must be same type.




    0



    0
  2. Arun says:

    Hi I’m New to this field..But i want to clear the Developer certification.. this websites are updated or not??

    How to Prepare to clear Cloudera Developer Certification

    Pls help me.




    0



    0

Leave a Reply

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