Skip to content

Commit ef3df91

Browse files
author
Marcelo Vanzin
committed
[SPARK-20421][CORE] Add a missing deprecation tag.
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 <[email protected]> Closes #17824 from vanzin/SPARK-20421.
1 parent 13f47dc commit ef3df91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,7 @@ class SparkContext(config: SparkConf) extends Logging {
17341734
* Return information about blocks stored in all of the slaves
17351735
*/
17361736
@DeveloperApi
1737+
@deprecated("This method may change or be removed in a future release.", "2.2.0")
17371738
def getExecutorStorageStatus: Array[StorageStatus] = {
17381739
assertNotStopped()
17391740
env.blockManager.master.getStorageStatus

0 commit comments

Comments
 (0)