Skip to content
Snippets Groups Projects
Commit 99a6c5e5 authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Patrick Wendell
Browse files

[SPARK-3518] Remove wasted statement in JsonProtocol


Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #2380 from sarutak/SPARK-3518 and squashes the following commits:

8a1464e [Kousuke Saruta] Replaced a variable with simple field reference
c660fbc [Kousuke Saruta] Removed useless statement in JsonProtocol.scala

(cherry picked from commit e59fac1f)
Signed-off-by: default avatarPatrick Wendell <pwendell@gmail.com>
parent 78887f94
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,6 @@ private[spark] object JsonProtocol {
}
def taskInfoToJson(taskInfo: TaskInfo): JValue = {
val accumUpdateMap = taskInfo.accumulables
("Task ID" -> taskInfo.taskId) ~
("Index" -> taskInfo.index) ~
("Attempt" -> taskInfo.attempt) ~
......
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