Skip to content

Commit

Permalink
[SPARK-20421][CORE] Add a missing deprecation tag.
Browse files Browse the repository at this point in the history
In the previous patch I deprecated StorageStatus, but not the
method in SparkContext that exposes that class publicly. So deprecate
the method too.

Author: Marcelo Vanzin <vanzin@cloudera.com>

Closes #17824 from vanzin/SPARK-20421.
  • Loading branch information
Marcelo Vanzin committed May 2, 2017
1 parent 13f47dc commit ef3df91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/org/apache/spark/SparkContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,7 @@ class SparkContext(config: SparkConf) extends Logging {
* Return information about blocks stored in all of the slaves
*/
@DeveloperApi
@deprecated("This method may change or be removed in a future release.", "2.2.0")
def getExecutorStorageStatus: Array[StorageStatus] = {
assertNotStopped()
env.blockManager.master.getStorageStatus
Expand Down

0 comments on commit ef3df91

Please sign in to comment.