Repository navigation
Classify surviving deprecated APIs in storm-server, external modules, and utilities (#8994) - #9173
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 the new since values against git history. 12 of the 14 files match; the two below do not.
|
@Mohit20057 friendly ping: could you have a look at @reiabreu's review? Two of the |
|
Thank you for checking the git history! In the latest commit:
|
d1ff9c9 to
aea1305
Compare
|
Thanks, the Two decisions I'd question:
The description still mentions the old |
aea1305 to
406c592
Compare
|
@rzo1 Thanks for the review! I have updated the branch to address all the points:
|
rzo1
left a comment
There was a problem hiding this comment.
Thanks @Mohit20057 for addressing all the points. LGTM.
What is the purpose of the change
Sub-task of umbrella issue #8994 ("inventory deprecated API and remove what is marked for removal").
Classifies surviving
@DeprecatedAPIs and utilities instorm-server,storm-hdfs, andstorm-clientby upgrading plain@Deprecatedannotations to include explicitsince = "..."versions andforRemovaldecisions, and documents supported replacements in Javadoc:storm-server:SchedulerAssignmentImpl.assign(WorkerSlot, Collection):@Deprecated(since = "2.0.0", forRemoval = true)(use overload withWorkerResources).Testing.java(10 testing harness methods):@Deprecated(since = "2.0.0", forRemoval = true)(useLocalCluster.Builder,SimulatedTime,TrackedTopology).BaseResourceAwareStrategy.NodeSortType.GENERIC_RASandDEFAULT_RAS:@Deprecated(since = "2.3.0", forRemoval = false)(retained for compatibility with*Oldstrategies; useCOMMON).GenericResourceAwareStrategyOldandDefaultResourceAwareStrategyOld:@Deprecated(since = "2.3.0", forRemoval = false)(useGenericResourceAwareStrategy/DefaultResourceAwareStrategy).NodeSorter/NodeSorterHostProximity: documented private helper methods with@deprecatedJavadoc.storm-hdfs:Configs.java(12 HDFS Spout config key constants):@Deprecated(since = "2.0.0", forRemoval = true)(configure via spout builders).HdfsState.HdfsFileOptions#addRotationAction:@Deprecated(since = "1.0.0", forRemoval = false)(retained for backwards compatibility).storm-client:LinearDRPCTopologyBuilder#addBolt(IRichBolt, ...):@Deprecated(forRemoval = true).StormMetricRegistry#gauge(String, Gauge, String, String, Integer, Integer):@Deprecated(since = "2.3.0", forRemoval = true).StormReporter#prepare(MetricRegistry, Map, Map):@Deprecated(since = "2.3.0", forRemoval = true).PlainClientCallbackHandler,PlainSaslTransportPlugin,SaslPlainServer):@Deprecated(since = "2.0.0", forRemoval = true).How was this tested
mvn test-compile -pl storm-client,storm-server,external/storm-hdfs,flux/flux-core)