Skip to content

Commit

Permalink
using bufferdinputstream
Browse files Browse the repository at this point in the history
  • Loading branch information
ConeyLiu committed Nov 13, 2017
1 parent 209b936 commit 9fe6426
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private[spark] class SerializerManager(
val autoPick = !blockId.isInstanceOf[StreamBlockId]
getSerializer(classTag, autoPick)
.newInstance()
.deserializeStream(wrapForCompression(blockId, inputStream))
.deserializeStream(wrapForCompression(blockId, stream))
.asIterator.asInstanceOf[Iterator[T]]
}
}

0 comments on commit 9fe6426

Please sign in to comment.