blob: 335e00958c6e40fc07cbfcb3c9f306be9a985996 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package spark.deploy.master
import spark.deploy.ExecutorState
class ExecutorInfo(
val id: Int,
val job: JobInfo,
val worker: WorkerInfo,
val cores: Int,
val memory: Int) {
var state = ExecutorState.LAUNCHING
def fullId: String = job.id + "/" + id
}
|