[
https://issues.apache.org/jira/browse/HADOOP-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801894#action_12801894
]
Doug Cutting commented on HADOOP-6497:
--------------------------------------
A constructor that takes a FileContext and a Path would be useful. It would
get the file's length with FileContext#getStatus(Path), then open it with
FileContext#open(Path), since almost every user of this class will need to do
this. This would also simplify the unit test a bit, making it a better example
of how this is expected to be used.
> Introduce wrapper around FSDataInputStream providing Avro SeekableInput
> interface
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-6497
> URL: https://issues.apache.org/jira/browse/HADOOP-6497
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> Attachments: HADOOP-6497.patch
>
>
> Reading data from avro files requires using Avro's SeekableInput interface;
> we need to be able to wrap FSDataInputStream in this interface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.