You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2026/09/13 01:15:08 UTC
[I] [Bug] skipFully spins forever on a zero-byte skip at end of stream [paimon]
LuciferYang opened a new issue, #9778:
URL: https://github.com/apache/paimon/issues/9778
### Bug description
`HadoopSeekableInputStream.skipFully` (and its copies in every HadoopCompliantFileIO wrapper: azure, cosn, gs, jindo, obs, oss, s3) loops with
while (bytes > 0) { bytes -= in.skip(bytes); }
A blocking stream at end of file returns 0 from `skip`, so a small forward seek — the vectored-read seek helper skips gaps of up to 1 MiB instead of seeking — past a truncated or shorter-than-expected file spins the loop forever instead of failing the read.
### Expected behavior
Throw `EOFException` when a skip call makes no progress, like Hadoop's own `IOUtils.skipFully` treats premature EOF.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] skipFully spins forever on a zero-byte skip at end of stream [paimon]
Posted by "zhang-arvin (via GitHub)" <gi...@apache.org>.
zhang-arvin commented on issue #9778:
URL: https://github.com/apache/paimon/issues/9778#issuecomment-5666894485
I will work on this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] skipFully spins forever on a zero-byte skip at end of stream [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #9778: [Bug] skipFully spins forever on a zero-byte skip at end of stream
URL: https://github.com/apache/paimon/issues/9778
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org