Github user mengxr commented on the pull request:
https://github.com/apache/spark/pull/164#issuecomment-37970513
@yinxusen I'm still confused by the implementation. You want to make the
entire content of a text file as the value returned by smallTextFiles. In the
BatchFileRecordReader, the buffer size is limited by `MAX_BYTES_ALLOCATION`,
and you merge the buffers from the same file in smallTextFiles to assemble the
entire content. Is it necessary to take this approach? How does it differ from
a simple `CombineWholeTextFileInputFormat`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---