Skip to content

Commit

Permalink
Merge pull request #13 from ryan-williams/reg
Browse files Browse the repository at this point in the history
custom registrations last
  • Loading branch information
ryan-williams committed Mar 13, 2017
2 parents 075a932 + 4266ccb commit 0789588
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,6 @@ jdk:
- oraclejdk8

scala:
- 2.10.6
- 2.11.8

script: sbt ++$TRAVIS_SCALA_VERSION clean test
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
@@ -1,6 +1,6 @@
name := "spark-tests"

version := "1.3.2"
version := "1.3.3"

libraryDependencies ++= Seq(
libs.value('scalatest),
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
@@ -1 +1 @@
addSbtPlugin("org.hammerlab" % "sbt-parent" % "1.6.1")
addSbtPlugin("org.hammerlab" % "sbt-parent" % "1.7.1")
Expand Up @@ -79,12 +79,12 @@ class KryoSparkSuite[T <: KryoRegistrator](registrar: Class[T] = null,
* Spark's hook for registering classes with Kryo.
*/
override def registerClasses(kryo: Kryo): Unit = {
Option(registrar).foreach(_.newInstance().registerClasses(kryo))
for {
registration <- extraKryoRegistrations.reverseIterator
} {
registration.register(kryo)
}
Option(registrar).foreach(_.newInstance().registerClasses(kryo))
}

conf
Expand Down

0 comments on commit 0789588

Please sign in to comment.