hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9142) Mutation#getFamilyMap() return type change between HBase 94 and 96 breaks downstream apps
Date Fri, 09 Aug 2013 02:32:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734344#comment-13734344
] 

Hudson commented on HBASE-9142:
-------------------------------

FAILURE: Integrated in HBase-TRUNK #4358 (See [https://builds.apache.org/job/HBase-TRUNK/4358/])
HBASE-9142 Mutation#getFamilyMap() return type change between HBase 94 and 96 breaks downstream
apps

For 0.95/0.96, we need to preserve the getFamilyMap signature through a deprecation cycle.
 The new
method needs to be present alongside the old in 0.95, so we rename the method with the new
signature
to getFamilyCellMap() in both trunk and 0.95, and restore a deprecated version of the old
in 0.95. (jmhsieh: rev 1512103)
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Increment.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Put.java
* /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutCombiner.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiRowMutationProcessor.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/SimpleRegionObserver.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverBypass.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALObserver.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/HLogPerformanceEvaluation.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestCoprocessorScanPolicy.java

                
> 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-0.95.patch, hbase-9142-95.v2.patch, hbase-9142-trunk.patch,
hbase-9142-trunk.v2.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

Mime
View raw message