You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/09/16 01:11:48 UTC

git commit: [SPARK-3518] Remove wasted statement in JsonProtocol

Repository: spark
Updated Branches:
  refs/heads/master fe2b1d6a2 -> e59fac1f9


[SPARK-3518] Remove wasted statement in JsonProtocol

Author: Kousuke Saruta <sa...@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


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e59fac1f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e59fac1f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e59fac1f

Branch: refs/heads/master
Commit: e59fac1f97c3fbeeb6defd12625a49763a353156
Parents: fe2b1d6
Author: Kousuke Saruta <sa...@oss.nttdata.co.jp>
Authored: Mon Sep 15 16:11:41 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Mon Sep 15 16:11:41 2014 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/util/JsonProtocol.scala | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/e59fac1f/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala b/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
index b0754e3..c4dddb2 100644
--- a/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
+++ b/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala
@@ -205,7 +205,6 @@ private[spark] object JsonProtocol {
   }
 
   def taskInfoToJson(taskInfo: TaskInfo): JValue = {
-    val accumUpdateMap = taskInfo.accumulables
     ("Task ID" -> taskInfo.taskId) ~
     ("Index" -> taskInfo.index) ~
     ("Attempt" -> taskInfo.attempt) ~


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org