зеркало из https://github.com/microsoft/spark.git
Added worker state to the cluster master JSON ui.
This commit is contained in:
Родитель
9db1e50344
Коммит
a77e0abb96
|
@ -33,7 +33,8 @@ private[spark] object JsonProtocol {
|
||||||
("cores" -> obj.cores) ~
|
("cores" -> obj.cores) ~
|
||||||
("coresused" -> obj.coresUsed) ~
|
("coresused" -> obj.coresUsed) ~
|
||||||
("memory" -> obj.memory) ~
|
("memory" -> obj.memory) ~
|
||||||
("memoryused" -> obj.memoryUsed)
|
("memoryused" -> obj.memoryUsed) ~
|
||||||
|
("state" -> obj.state.toString)
|
||||||
}
|
}
|
||||||
|
|
||||||
def writeApplicationInfo(obj: ApplicationInfo) = {
|
def writeApplicationInfo(obj: ApplicationInfo) = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче