hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Updated] (HIVE-6952) Hive 0.13 HiveOutputFormat breaks backwards compatibility
Date Fri, 25 Apr 2014 05:55:15 GMT


Ashutosh Chauhan updated HIVE-6952:

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

Committed on trunk. Thanks [~prasanth_j] for review now your +1 is binding : )
[~costin] For now I have committed this on trunk. If Hive community decides to do 0.13.1 release,
I will request for backport of this patch.

> Hive 0.13 HiveOutputFormat breaks backwards compatibility
> ---------------------------------------------------------
>                 Key: HIVE-6952
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Serializers/Deserializers
>    Affects Versions: 0.13.0
>            Reporter: Costin Leau
>            Assignee: Ashutosh Chauhan
>            Priority: Blocker
>             Fix For: 0.14.0
>         Attachments: HIVE-6952.patch
> Hive 0.13 changed the signature of HiveOutputFormat (through commit r1527149) breaking
backwards compatibility with previous releases; the return type of getHiveRecordWriter has
been changed from RecordWriter to FSRecordWriter.
> FSRecordWriter introduces one new method on top of RecordWriter however it does not extend
the previous interface and it lives in a completely new package.
> Thus code running fine on Hive 0.12 breaks on Hive 0.13. After the upgrade, code running
on HIve 0.13, will break on anything lower than this.
> This could have easily been avoided by extending the existing interface or introducing
a new one that RecordWriter could have extended going forward. By changing the signature,
the existing contract (and compatibility) has been voided.

This message was sent by Atlassian JIRA

View raw message