[
https://issues.apache.org/jira/browse/HBASE-27081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544669#comment-17544669
]
Duo Zhang commented on HBASE-27081:
-----------------------------------
For ReplicationLoadSink, the constructor is marked as IA.Private, so this is
not a break change. See
https://github.com/apache/hbase/commit/b5b286d793f00ec8b9ed02f51fd9324e46f29c86
For RSGroupInfo.getServers, change the return value from Set to SortedSet is
not allowed for a patch release but I think it is OK for a minor release, we do
not expect users to extend the RSGroupInfo class, so a recomplie can fix the
incompatible problem, we do not guarantee drop-in replacement for a minor
release.
For RandomRowFilter, maybe we could keep the random object there but marked it
as deprecated.
Let me also take a look on the table descriptor changes later.
Thanks [~apurtell] for the careful work!
> Fix disallowed compatibility breaks on branch-2.5 and branch-2
> --------------------------------------------------------------
>
> Key: HBASE-27081
> URL: https://issues.apache.org/jira/browse/HBASE-27081
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Blocker
> Fix For: 2.5.0
>
>
> Change to Public interfaces without deprecation:
> HTableDescriptor
> Field DEFAULT_NORMALIZATION_ENABLED of type boolean has been removed from
> this class.
> TableDescriptorBuilder
> Field DEFAULT_NORMALIZATION_ENABLED of type boolean has been removed from
> this class.
> RandomRowFilter
> Field random of type java.util.Random has been removed from this class.
> A client program may be interrupted by NoSuchFieldError exception.
> ReplicationLoadSink.ReplicationLoadSink ( long age, long timestamp, long
> timestampStarted, long totalOpsProcessed )
> Access level has been changed from public to private. A client
> program may be interrupted by IllegalAccessError exception.
> RSGroupInfo.getServers:()Ljava/util/Set;
> Return value type has been changed from
> java.util.Set<org.apache.hadoop.hbase.net.Address> to
> java.util.SortedSet<org.apache.hadoop.hbase.net.Address>.
> This method has been removed because the return type is part of the method
> signature. A client program may be interrupted by NoSuchMethodError exception.
> These changes are not allowed by policy for a minor release so I have
> committed fixes on my own authority as RM to branch-2.5 and branch-2. Further
> changes can be pursued on branch-2.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)