Skip to content

Commit fbb65b8

Browse files
committed
Removed unused method
1 parent c89bb6e commit fbb65b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

core/src/main/scala/org/apache/spark/deploy/master/ApplicationInfo.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import scala.collection.mutable.ArrayBuffer
2424

2525
import akka.actor.ActorRef
2626

27-
import org.apache.spark.deploy.{ApplicationDescription, ExecutorState}
27+
import org.apache.spark.deploy.ApplicationDescription
2828

2929
private[spark] class ApplicationInfo(
3030
val startTime: Long,
@@ -83,10 +83,6 @@ private[spark] class ApplicationInfo(
8383
}
8484
}
8585

86-
def exitedExecutors: Seq[ExecutorInfo] = {
87-
removedExecutors.filter(_.state == ExecutorState.EXITED)
88-
}
89-
9086
private val myMaxCores = desc.maxCores.getOrElse(defaultCores)
9187

9288
def coresLeft: Int = myMaxCores - coresGranted

0 commit comments

Comments
 (0)