You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2014/12/11 08:08:12 UTC
[jira] [Commented] (AVRO-1539) Add FileSystem-based FsInput
Constructor
[ https://issues.apache.org/jira/browse/AVRO-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242246#comment-14242246 ]
Doug Cutting commented on AVRO-1539:
------------------------------------
This looks like a reasonable addition, but you should continue to call path.getFileSystem(conf) to get the FileSystem instance so that the path is still used to create the correct filesystem.
> Add FileSystem-based FsInput Constructor
> ----------------------------------------
>
> Key: AVRO-1539
> URL: https://issues.apache.org/jira/browse/AVRO-1539
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.7.6
> Reporter: Allan Shoup
> Priority: Trivial
> Attachments: AVRO-1539.patch
>
>
> The current FsInput constructor uses a Configuration object to retrieve the FileSystem. It would be convenient to have an additional constructor that directly took a FileSystem for instances where consuming code already has that available.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)