Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecating old technology #1845

Merged
merged 5 commits into from
Jan 20, 2022
Merged

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Jan 5, 2022

This commit deprecates spark 1.x, scala 2.10 on spark 2.x, hadoop 1, pig, and storm. Support will be removed for these things at a later date.

Copy link
Contributor

@jrodewig jrodewig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @masseyke. I left some non-blocking suggestions, but this looks good to me overall. I'll defer to @debadair for final docs approval.

Outside the scope of this PR, but @debadair or I can take a look at updating the "Breaking changes" page to be more inline with the Elasticsearch migration guide. We can look at removing some of the info for older major versions as part of that effort.

docs/src/reference/asciidoc/appendix/breaking.adoc Outdated Show resolved Hide resolved
docs/src/reference/asciidoc/appendix/breaking.adoc Outdated Show resolved Hide resolved
docs/src/reference/asciidoc/appendix/breaking.adoc Outdated Show resolved Hide resolved
docs/src/reference/asciidoc/appendix/breaking.adoc Outdated Show resolved Hide resolved
docs/src/reference/asciidoc/appendix/breaking.adoc Outdated Show resolved Hide resolved
storm/src/main/java/org/elasticsearch/storm/EsBolt.java Outdated Show resolved Hide resolved
storm/src/main/java/org/elasticsearch/storm/EsSpout.java Outdated Show resolved Hide resolved
Co-authored-by: James Rodewig <james.rodewig@elastic.co>
Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for running through all these. I defer to the docs folks for mergeability.

@@ -47,6 +47,7 @@
import static org.elasticsearch.storm.cfg.StormConfigurationOptions.ES_STORM_BOLT_ACK;

@SuppressWarnings({ "rawtypes", "unchecked" })
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a javadoc message here for the deprecation?

/**
 * @deprecated Storm support is deprecated and will be removed in a future release
 */

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I had considered that, and then decided not to, and can't remember why. Just added it now though.

@@ -49,6 +49,7 @@
import static org.elasticsearch.hadoop.cfg.ConfigurationOptions.*;

@SuppressWarnings({ "rawtypes", "unchecked" })
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestion here for javadoc message

@masseyke masseyke merged commit 624fd44 into elastic:master Jan 20, 2022
@masseyke masseyke deleted the feature/deprecations branch January 20, 2022 19:28
masseyke added a commit to masseyke/elasticsearch-hadoop that referenced this pull request Jan 20, 2022
This commit deprecates spark 1.x, scala 2.10 on spark 2.x, hadoop 1, pig, and storm. Support will be removed for these things at a later date.
masseyke added a commit that referenced this pull request Jan 20, 2022
This commit deprecates spark 1.x, scala 2.10 on spark 2.x, hadoop 1, pig, and storm. Support will be removed for these things at a later date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants