hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <>
Subject [jira] [Commented] (HIVE-2711) Make the header of RCFile unique
Date Mon, 02 Apr 2012 00:06:29 GMT


Phabricator commented on HIVE-2711:

omalley has commented on the revision "HIVE-2711 [jira] Make the header of RCFile unique".


  My point is that RCFile was *always* distinct from Sequence Files. RCFile was a fork of
Sequence File when the Sequence File version was 6, therefore nothing before version 6 can
possibly be an RCFile.

    Sequence Files: SEQ1, SEQ2, SEQ3, SEQ4, SEQ5, SEQ6
    RCFiles: SEQ6, RCF1

  Also note that SEQ5 was last written by Hadoop 0.10 back in Feb 2007, a year and a half
before Hive was created.


> Make the header of RCFile unique
> --------------------------------
>                 Key: HIVE-2711
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: HIVE-2711.D2115.1.patch
> The RCFile implementation was copied from Hadoop's SequenceFile and copied the 'magic'
string in the header. This means that you can't use the header to distinguish between RCFiles
and SequenceFiles.
> I'd propose that we create a new header for RCFiles (RCF?) to replace the current SEQ.
To maintain compatibility, we'll need to continue to accept the current 'SEQ\06' and just
make new files contain the new header.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message