You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2025/11/10 07:06:08 UTC

[PR] [core] Introduce endInput in StandardLineReader to avoid close input [paimon]

JingsongLi opened a new pull request, #6574:
URL: https://github.com/apache/paimon/pull/6574

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Avoid exception like:
   ```
   Caused by: java.io.IOException: Stream is closed!
     at com.aliyun.jindodata.common.JindoInputStream.checkStream(JindoInputStream.java:563)
     at com.aliyun.jindodata.common.JindoLakeInputStream.getPos(JindoLakeInputStream.java:130)
     at org.apache.hadoop.fs.FSDataInputStream.getPos(FSDataInputStream.java:77)
     at org.apache.paimon.jindo.HadoopCompliantFileIO$HadoopSeekableInputStream.getPos(HadoopCompliantFileIO.java:188)
     at org.apache.paimon.format.text.StandardLineReader.reachLengthLimit(StandardLineReader.java:194)
     at org.apache.paimon.format.text.StandardLineReader.readLine(StandardLineReader.java:109)
     at org.apache.paimon.format.text.TextFileReader.readLine(TextFileReader.java:171)
     at org.apache.paimon.format.text.TextFileReader$TextRecordIterator.next(TextFileReader.java:117)
     at org.apache.paimon.format.text.TextFileReader$TextRecordIterator.next(TextFileReader.java:106)
     at org.apache.paimon.reader.FileRecordIterator$1.next(FileRecordIterator.java:64)
     at org.apache.paimon.spark.PaimonRecordReaderIterator.advanceIfNeeded(PaimonRecordReaderIterator.scala:115)
   ```
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


-- 
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: [PR] [core] Introduce endInput in StandardLineReader to avoid close input [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #6574:
URL: https://github.com/apache/paimon/pull/6574


-- 
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: [PR] [core] Introduce endInput in StandardLineReader to avoid close input [paimon]

Posted by "jerry-024 (via GitHub)" <gi...@apache.org>.
jerry-024 commented on PR #6574:
URL: https://github.com/apache/paimon/pull/6574#issuecomment-3509864566

   +1


-- 
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