Skip to content

Commit

Permalink
Revert "Bypass SerializationDebugger for now (SPARK-7180)"
Browse files Browse the repository at this point in the history
This reverts commit 9419efe.
  • Loading branch information
Andrew Or committed Apr 28, 2015
1 parent 9419efe commit d889950
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import scala.collection.mutable

import org.scalatest.{BeforeAndAfterAll, FunSuite, PrivateMethodTester}

import org.apache.spark.{SparkConf, SparkContext, SparkException}
import org.apache.spark.{SparkContext, SparkException}
import org.apache.spark.serializer.SerializerInstance

/**
Expand All @@ -38,13 +38,7 @@ class ClosureCleanerSuite2 extends FunSuite with BeforeAndAfterAll with PrivateM
private var closureSerializer: SerializerInstance = null

override def beforeAll(): Unit = {
val conf = new SparkConf()
.set("spark.master", "local")
.set("spark.app.name", "test")
// SerializationDebugger currently cannot serialize ClosureCleanerSuite2 because
// it has non-serializable fields but inherits a serializable class (SPARK-7180)
.set("spark.serializer.extraDebugInfo", "false")
sc = new SparkContext(conf)
sc = new SparkContext("local", "test")
closureSerializer = sc.env.closureSerializer.newInstance()
}

Expand Down

0 comments on commit d889950

Please sign in to comment.