Return-Path: X-Original-To: apmail-spark-commits-archive@minotaur.apache.org Delivered-To: apmail-spark-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B18B9121A0 for ; Sat, 10 May 2014 21:58:13 +0000 (UTC) Received: (qmail 63610 invoked by uid 500); 10 May 2014 21:56:25 -0000 Delivered-To: apmail-spark-commits-archive@spark.apache.org Received: (qmail 57485 invoked by uid 500); 10 May 2014 21:56:11 -0000 Mailing-List: contact commits-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@spark.apache.org Delivered-To: mailing list commits@spark.apache.org Received: (qmail 56377 invoked by uid 99); 10 May 2014 21:56:08 -0000 Received: from Unknown (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 21:56:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D2AEE94530E; Fri, 9 May 2014 05:33:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pwendell@apache.org To: commits@spark.apache.org Message-Id: <270d65c756b641df89ff0bb3201f834e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: MINOR: Removing dead code. Date: Fri, 9 May 2014 05:33:34 +0000 (UTC) Repository: spark Updated Branches: refs/heads/master 7db47c463 -> 4c60fd1e8 MINOR: Removing dead code. Meant to do this when patching up the last merge. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4c60fd1e Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4c60fd1e Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4c60fd1e Branch: refs/heads/master Commit: 4c60fd1e8c526278b7e5544d6164050d1aee0338 Parents: 7db47c4 Author: Patrick Wendell Authored: Thu May 8 22:33:06 2014 -0700 Committer: Patrick Wendell Committed: Thu May 8 22:33:06 2014 -0700 ---------------------------------------------------------------------- core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/4c60fd1e/core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala b/core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala index 9ba586f..ed0f56f 100644 --- a/core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala +++ b/core/src/main/scala/org/apache/spark/scheduler/ShuffleMapTask.scala @@ -57,7 +57,6 @@ private[spark] object ShuffleMapTask { } def deserializeInfo(stageId: Int, bytes: Array[Byte]): (RDD[_], ShuffleDependency[_,_]) = { - val loader = Thread.currentThread.getContextClassLoader val in = new GZIPInputStream(new ByteArrayInputStream(bytes)) val ser = SparkEnv.get.closureSerializer.newInstance() val objIn = ser.deserializeStream(in)