Skip to content

Commit b480ec6

Browse files
committed
Thu Aug 18 13:44:56 PDT 2016
1 parent 94682a2 commit b480ec6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/src/main/scala/org/apache/spark/storage/BlockManager.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -978,11 +978,11 @@ private[spark] class BlockManager(
978978
// NettyBlockRpcServer crashes when deserializing repl-defined classes.
979979
// TODO(ekl) remove this once the classloader issue on the remote end is fixed.
980980
val remoteClassTag = classTag
981-
// if (!serializerManager.canUseKryo(classTag)) {
982-
// scala.reflect.classTag[Any]
983-
// } else {
984-
// classTag
985-
// }
981+
if (!serializerManager.canUseKryo(classTag)) {
982+
scala.reflect.classTag[Any]
983+
} else {
984+
classTag
985+
}
986986
try {
987987
replicate(blockId, bytesToReplicate, level, remoteClassTag)
988988
} finally {

0 commit comments

Comments
 (0)