[ https://issues.apache.org/jira/browse/HBASE-9142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734340#comment-13734340 ]
Hudson commented on HBASE-9142: ------------------------------- FAILURE: Integrated in hbase-0.95 #419 (See [https://builds.apache.org/job/hbase-0.95/419/]) 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 1512102) * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Increment.java * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Put.java * /hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutCombiner.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiRowMutationProcessor.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java * /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java * /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java * /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/SimpleRegionObserver.java * /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverBypass.java * /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestWALObserver.java * /hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/HLogPerformanceEvaluation.java * /hbase/branches/0.95/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