Repository navigation
Classify surviving deprecated storm-client APIs with forRemoval decisions (#8994) - #9172
Conversation
reiabreu
left a comment
There was a problem hiding this comment.
This review was generated with the help of an LLM (Claude) and reviewed by me before posting.
Claude spot-checked some of the new since values against git history: ILocalCluster (2.0.0) and CGroupMetricsBase (2.3.0) match, IKryoDecorator does not (inline). The other values weren't checked.
|
@Mohit20057 friendly ping: could you have a look at @reiabreu's review? The |
eba355b to
111c368
Compare
|
Thanks for working through these. Checking against the release tags, several
Two
Either Minor: the CGroup V1 |
111c368 to
8297992
Compare
|
@rzo1 Thanks for the thorough review ! I have updated the PR accordingly:
|
rzo1
left a comment
There was a problem hiding this comment.
Thanks @Mohit20057, the since values match the release tags now and the forRemoval decisions look right to me. LGTM.
What is the purpose of the change
Sub-task of umbrella issue #8994.
Classifies surviving
@DeprecatedAPIs, configurations, and utilities instorm-clientby upgrading plain@Deprecatedannotations to include explicitsince = "..."versions andforRemovaldecisions, and adds@deprecatedJavadoc tags pointing to supported replacements. ConfigurationConfig.TOPOLOGY_SPREAD_COMPONENTS, core interfaces/utilities (TimeCacheMap,IKryoDecorator,ILocalCluster,ILocalDRPC,IContext,INimbusCredentialPlugin), legacy Metrics V1 classes (CGroupMetricsBaseand 5 subclasses,IMetricsContext,TopologyContext), and client constructors/factories (NimbusClient,SupervisorClient) are formally markedforRemoval = true.TransactionAttemptandTime.currentTimeSecs()/Time.deltaSecs()are markedforRemoval = falseto preserve Kryo registration order and short relative duration use cases.How was this tested
storm-clientwith JDK 23ConfigUtilsTest(25/25 tests passed)TestConfigValidate(38/38 tests passed)TimeTest(8/8 tests passed)SerializationFactoryTest(5/5 tests passed)