Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/main/scala/org/apache/spark/TaskContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ abstract class TaskContext extends Serializable {
*/
def isInterrupted(): Boolean

@deprecated("1.2.0", "use isRunningLocally")
@deprecated("use isRunningLocally", "1.2.0")
def runningLocally(): Boolean

/**
Expand Down Expand Up @@ -102,7 +102,7 @@ abstract class TaskContext extends Serializable {
*
* @param f Callback function.
*/
@deprecated("1.2.0", "use addTaskCompletionListener")
@deprecated("use addTaskCompletionListener", "1.2.0")
def addOnCompleteCallback(f: () => Unit)

/**
Expand All @@ -121,7 +121,7 @@ abstract class TaskContext extends Serializable {
*/
def attemptNumber(): Int

@deprecated("1.3.0", "use attemptNumber")
@deprecated("use attemptNumber", "1.3.0")
def attemptId(): Long

/**
Expand Down