Skip to content
Snippets Groups Projects
Commit 351da546 authored by David McCauley's avatar David McCauley
Browse files

SPARK-920 - JSON endpoint URI scheme part (spark://) duplicated

parent 714fdabd
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ private[spark] object JsonProtocol {
}
def writeMasterState(obj: MasterStateResponse) = {
("url" -> ("spark://" + obj.uri)) ~
("url" -> obj.uri) ~
("workers" -> obj.workers.toList.map(writeWorkerInfo)) ~
("cores" -> obj.workers.map(_.cores).sum) ~
("coresused" -> obj.workers.map(_.coresUsed).sum) ~
......
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