[ https://issues.apache.org/jira/browse/SPARK-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin closed SPARK-3442. ------------------------------ Resolution: Won't Fix Going to use Guava's ByteStreams.limit instead. > Create LengthBoundedInputStream > ------------------------------- > > Key: SPARK-3442 > URL: https://issues.apache.org/jira/browse/SPARK-3442 > Project: Spark > Issue Type: Sub-task > Components: Shuffle, Spark Core > Reporter: Reynold Xin > Assignee: Reynold Xin > > To create a LengthBoundedInputStream, which is an InputStream decorator that > limits the number of bytes returned from an underlying InputStream. > This can be used to create an InputStream directly from a segment of a file > (FileInputStream always reads till EOF). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org