Skip to content

Commit

Permalink
Address minor nits
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed May 6, 2015
1 parent 0a7ebd7 commit 50a68ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class KryoSerializer(conf: SparkConf)
}

private[spark] override lazy val supportsRelocationOfSerializedObjects: Boolean = {
// If auto-flush is disabled, then Kryo may store references to duplicate occurrences of objects
// If auto-reset is disabled, then Kryo may store references to duplicate occurrences of objects
// in the stream rather than writing those objects' serialized bytes, breaking relocation. See
// https://groups.google.com/d/msg/kryo-users/6ZUSyfjjtdo/FhGG1KHDXPgJ for more details.
newInstance().asInstanceOf[KryoSerializerInstance].getAutoReset()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import java.nio.ByteBuffer
import scala.reflect.ClassTag

import org.apache.spark.{SparkConf, SparkEnv}
import org.apache.spark.annotation.{Private, Experimental, DeveloperApi}
import org.apache.spark.annotation.{DeveloperApi, Private}
import org.apache.spark.util.{Utils, ByteBufferInputStream, NextIterator}

/**
Expand Down

0 comments on commit 50a68ca

Please sign in to comment.