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

[SPARK-20421][core] Mark internal listeners as deprecated. #17766

Closed
wants to merge 1 commit into from

Conversation

vanzin
Copy link
Contributor

@vanzin vanzin commented Apr 25, 2017

These listeners weren't really meant for external consumption, but they're
public and marked with @DeveloperAPI. Adding the deprecated tag warns people
that they may soon go away (as they will as part of the work for SPARK-18085).

Note that not all types made public by #648
are being deprecated. Some remaining types are still exposed through the
SparkListener API.

Also note the text for StorageStatus is a tiny bit different, since I'm not
so sure I'll be able to remove it. But the effect for the users should be the
same (they should stop trying to use it).

These listeners weren't really meant for external consumption, but they're
public and marked with @DeveloperAPI. Adding the deprecated tag warns people
that they may soon go away (as they will as part of the work for SPARK-18085.

Note that not all types made public by apache#648
are being deprecated. Some remaining types are still exposed through the
SparkListener API.

Also note the text for StorageStatus is a tiny bit different, since I'm not
so sure I'll be able to remove it. But the effect for the users should be the
same (they should stop trying to use it).
@vanzin
Copy link
Contributor Author

vanzin commented Apr 25, 2017

@JoshRosen

@SparkQA
Copy link

SparkQA commented Apr 26, 2017

Test build #76154 has finished for PR 17766 at commit d16be2b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • @deprecated(\"This class will be removed in a future release.\", \"2.2.0\")
  • @deprecated(\"This class will be removed in a future release.\", \"2.2.0\")
  • @deprecated(\"This class will be removed in a future release.\", \"2.2.0\")
  • @deprecated(\"This class will be removed in a future release.\", \"2.2.0\")
  • @deprecated(\"This class will be removed in a future release.\", \"2.2.0\")

@vanzin
Copy link
Contributor Author

vanzin commented Apr 27, 2017

Josh seems MIA, @srowen care to take a look?

@JoshRosen
Copy link
Contributor

Per my comments on the earlier email discussion thread, this seems fine to me.

(I'm not totally MIA; I just got back from vacation and busy getting caught up).

@vanzin
Copy link
Contributor Author

vanzin commented Apr 27, 2017

Thanks. Merging to master / 2.2.

asfgit pushed a commit that referenced this pull request Apr 27, 2017
These listeners weren't really meant for external consumption, but they're
public and marked with DeveloperApi. Adding the deprecated tag warns people
that they may soon go away (as they will as part of the work for SPARK-18085).

Note that not all types made public by #648
are being deprecated. Some remaining types are still exposed through the
SparkListener API.

Also note the text for StorageStatus is a tiny bit different, since I'm not
so sure I'll be able to remove it. But the effect for the users should be the
same (they should stop trying to use it).

Author: Marcelo Vanzin <[email protected]>

Closes #17766 from vanzin/SPARK-20421.

(cherry picked from commit 561e9cc)
Signed-off-by: Marcelo Vanzin <[email protected]>
@asfgit asfgit closed this in 561e9cc Apr 27, 2017
@vanzin vanzin deleted the SPARK-20421 branch April 27, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants