Skip to content

Commit 176ae4d

Browse files
ConeyLiusrowen
authored andcommitted
[MINOR][CORE] Using bufferedInputStream for dataDeserializeStream
## What changes were proposed in this pull request? Small fix. Using bufferedInputStream for dataDeserializeStream. ## How was this patch tested? Existing UT. Author: Xianyang Liu <[email protected]> Closes #19735 from ConeyLiu/smallfix.
1 parent 209b936 commit 176ae4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/serializer/SerializerManager.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private[spark] class SerializerManager(
206206
val autoPick = !blockId.isInstanceOf[StreamBlockId]
207207
getSerializer(classTag, autoPick)
208208
.newInstance()
209-
.deserializeStream(wrapForCompression(blockId, inputStream))
209+
.deserializeStream(wrapForCompression(blockId, stream))
210210
.asIterator.asInstanceOf[Iterator[T]]
211211
}
212212
}

0 commit comments

Comments
 (0)