[
https://issues.apache.org/jira/browse/HBASE-9142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hsieh updated HBASE-9142:
----------------------------------
Attachment: hbase-9142-trunk.patch
Trunk version only renames the NavigableMap<...> getFamilyMap() ->
getFamilyCellMap.
The 0.95 version does that and restores the 0.94 api compatible method that is
marked as deprecated.
> Mutation#getFamilyMap() return type change between HBase 94 and 96 breaks
> downstream apps
> -----------------------------------------------------------------------------------------
>
> Key: HBASE-9142
> URL: https://issues.apache.org/jira/browse/HBASE-9142
> Project: HBase
> Issue Type: Bug
> Reporter: Hari Shreedharan
> Assignee: Jonathan Hsieh
> Priority: Critical
> Fix For: 0.95.2
>
> Attachments: hbase-9142-trunk.patch
>
>
> In Hbase-94, Mutation#getFamilyMap() had signature:
> public Map<byte[],List<KeyValue>> getFamilyMap()
> In Hbase-96 it is:
> public NavigableMap<byte[],List<? extends Cell>> getFamilyMap()
> I understand this might not be an easy fix or even a possible one - but it
> breaks downstream apps in a nasty way. If the app needs to process the
> individual columns, then the whole logic is now different. Is there a way to
> work around this, if this cannot be fixed?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira