[
https://issues.apache.org/jira/browse/HBASE-27081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544672#comment-17544672
]
Andrew Kyle Purtell commented on HBASE-27081:
---------------------------------------------
The API tool marked the constructor change as a break. It was trivial to make
it public again, so I changed it.
We don't allow the Set to SortedSet change for a minor release, not without
deprecation. We can discuss this as part of the RC, though, if it's going to be
an issue. The only impact I noticed was a flaky test had to be removed; which
is virtuous to me, because the test was flaky. This should be addressed in a
followup issue though for sure.
I put the random field back in RandomRowFilter, it was not a big deal.
I also put back the DEFAULT_NORMALIZER_ENABLED fields; this is trivial.
I committed them to both branch-2.5 and branch-2 so the code will be consistent
in both places. We can make further changes to branch-2.
> 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)