Skip to content
Snippets Groups Projects
Commit a77e0abb authored by Reynold Xin's avatar Reynold Xin
Browse files

Added worker state to the cluster master JSON ui.

parent 9db1e503
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,8 @@ private[spark] object JsonProtocol {
("cores" -> obj.cores) ~
("coresused" -> obj.coresUsed) ~
("memory" -> obj.memory) ~
("memoryused" -> obj.memoryUsed)
("memoryused" -> obj.memoryUsed) ~
("state" -> obj.state.toString)
}
def writeApplicationInfo(obj: ApplicationInfo) = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment